There are 2 cases that you need to issue Maven’s command to include a jar into the Maven local repository manually.
- The jar you want to use doesn’t exist in the Maven center repository.
- You created a custom jar, and need to use for another Maven project.
Read More »
Robot API has few dis-advantages mentioned below:
- Keyword/moved event will only works on current instance of Window. E.g. suppose a code is performing any robot class event, and during the code execution user has moved to some other screen then keyword/mouse event will occur on that screen.
- Most of the methods like mouseMove is screen resolution dependent so there might be a chance that code working on one machine might not work on other.
Read More »
Since, now you aware of basic methods of Robot Class so let’s understand few more complex methods –
Suppose you do not want to use the click method for clicking at web element.
In such cases, you can use mouseMove method of the Robot class.Read More »
import org.openqa.selenium.firefox.FirefoxDriver;Read More »
In certain Selenium Automation Tests, there is a need to control keyboard or mouse to interact with OS windows like Download pop-up, Alerts, Print Pop-ups, etc. or native Operation System applications like Notepad, Skype, Calculator, etc.Read More »
Add jar to your project.
import atu.testrecorder.exceptions.ATUTestRecorderException;Read More »
TestNG allows us to group several tests together. You can group certain tests based on what behavior/aspect they are actually testing. You may have a scenario where few tests belong to a certain group(say Regression) and other ones belong to other group(say Sanity) and yet another one belong to other group(say Login). With this approach you may decide to execute only certain group of test and skip other ones(let’s say there was a regression on related code, so we prefer to only execute Sanity related tests).The group test is a new innovative feature in TestNG, it doesn’t exist in Junit frameworkRead More »