how to write JUnit test case for robotium
what are all the Robotium methods we use to automate ?
is there any resources or tutor available ?
Download is at this link: http://code.google.com/p/robotium/downloads/detail?name=robotium-solo-3.2.1-javadoc.jar
After you download, just change the file extension to .zip and you will have everything you need regarding the methods and functions used.
Hope this helps.
Blaine
Related
We are creating a Selenium and Appium project in eclipse.
I was wondering if there are rules or right practices or correct location for Selenium and Appium classes?
During our training on Selenium, I notice that location of classes are in src/main/java.
While in our training on Appium the location of classes are in src/test/java.
Is it also okay to put the Selenium classes src/test/java?
Will there be any problem?
Or is it also okay to put Appium classes in src/main/java?
Will there be any problem?
What will be the best practice for locations of Selenium and Appium classes?
FYI, there will be no other code for the application. Just the Selenium and Appium classes.
TIA
Q. Is it also okay to put the Selenium classes src/test/java? Will there be any problem?
Ans: Yes it's absolutely fine, if you entire project is meant for test automation. There won't be any issue.
Q. Or is it also okay to put Appium classes in src/main/java? Will there be any problem?
Ans : Answer is again No
Since you've mentioned
there will be no other code for the application
It really does not matter if you keep your code in any one of the folders
Since It's a Maven project, main/java is for development and test/java is for unit test. Nothing more nothing less, it's all up to you to decide which one to go for.
Cause if you are using TestNg, in xml you would have to give the full file path in order to run the class file, so it does not really matter.
Can anyone help me with the Integration of SOAPUI and Testrail. If there is any Youtube or any other tutorials please share
After execution of testcases from soapui the status should get updated in testrail
https://discuss.gurock.com/t/how-to-log-into-testrail-api-with-soapui/10849
Can u try this??
Also Test rail api is exposed.. you can take the code and convert that code in to jar put in to soapui/bin/ext folder. Now u write a groovy code to use that library
You might want to have a look at (Agiletestware Firefly plugin for ReadyAPI (SoapUI Pro).
It integrates with ReadyAPI and upload test results (including HTTP/SOAP request and response) into TestRail for each run of your tests in ReadyAPI.
Here is the link to the documentation: https://www.agiletestware.com/docs/firefly-docs/en/latest/
Disclaimer: Agiletestware Firefly is a commercial product and I'm a developer of this product
Is there an option to export recorded test script to Java/JUuit(similar to slenium IDE) in Katalon studio? Because the application I'm working on is compatible only with IE; so I couldn't use selenuim IDE. so I'm forced to find someother tools to play/record sessions.
Appreciate your help in advance! Thanks!
As of version 4.8 Katalon Studio does not support export test cases to other frameworks. But if you want more control on your project, you can modify test cases directy in the Script Mode using Groovy/Java. It is also possible to import 3rd party Java libraries to your project if need be.
After creating the test case with some steps, we could view the script and adjusting it, for examples: https://docs.katalon.com/display/KD/Test+Case+Script+View
From here, we could add more codes to handle our testing flows.
However, since the code uses some Katalon libraries, so it might not posible to copy the script and run somewhere else.
you can export code into java/ python using Katalon browser plugin. Just import existing test case recording into the plugin and click on "export" option.
Yes you can export it Java (Junit, TestNg), python, C#, Ruby.
Download the chrome pluging
https://chrome.google.com/webstore/detail/katalon-recorder-selenium/ljdobmomdgdljniojadhoplhkpialdid
Follow the guide screen
Create a Maven Java project, create a new Test class file and copy paste the code and run the project to test the browser test.
Done !
You can record your test and export in the following language and framework:
C#
Java
Python
Robot Framework
Ruby
It is an extension for chrome like Selenium IDE
you can find it here
I'd like to use Cucumber linked with SoapUI and Selenium in order to create an automation functional test.
I only found one website about it, describing that first I have to create a SoapUI project and save it as a .xml file. Then I should include this file into the test project using Cucumber and Selenium.
My first question is what configuration do I have to do for that ? (in the pom.xml file when using Maven for example or in any configuration file for Jenkins)
My second and last question is : if I launch every night with Jenkins (let's say that as an example) my tests, do I have to launch first the SoapUI project and import it again in the test project to run my tests in a good way ?
Thanks for your answers
I think you can use REST Assured for you API testing.
Use cucumber for your BDD statement, use java for there step definition and REST Assured for all the API request stuff.
Wrap all your automation with well written Gherkin and you'll need no other documentation. Think about that. BDD (specification by example) is a requirements approach, not a testing approach.
I want to test odoo modules with the help of Automation Testing Tools.
How can i do that, pls give me suggestion.
Is there any automation testing tool available for odoo project testing?
Thanks in advance.
**You can use selenium testing tool & write a script in it
Also u can do YML testing by writing YML script in test files of an OpenERP or ODOO
**
https://doc.odoo.com/6.0/developer/5_16_data_serialization/yaml_serialization/
You can try open source tools like Selenium.
Additionally, I found this slideshare presentation,
http://www.slideshare.net/openobject/how-to-develop-automated-tests
...which talks about run-bot.