Tuesday, October 22, 2019

Testng test report

1. Testng execute the class which has @test annotation before the method
2. Testng test results report will be created as soon as you run any class with annotation @test in it
3. Since we have @test annotation, we need not have main method
4. Once java class is written with @test annotation method run it with by right clicking class file -> select run as testng test. It will run the method and test ng report will be generated based on number of @test methods
5. You could run test suites by creating test ng XML file.
6. Test XML file created manually by selecting java project-> create file-> xml-> name.xml.
7. Once name.xml is created 
5. 

Tuesday, February 5, 2019

Need expertise on

- Eclipse set up and java program exec
- Reading&Undeestanding Eclipse errors and fixing
- Know all about Maven, bitbucket and Pom XML
-

Monday, September 17, 2018

Handle app authenticatication pop up

Scenario:
Authentication pop up comes when ever app URL is hit or navigated through diff pages. Where user has to provide his valid user ID and pwd to proceed . How to handle the pop up as it is window pop up.

Monday, January 8, 2018

Inbuilt Interface for taking Screenshots

Selenium jars have inbuilt interface that could help us take screenshots with less effort.

Sunday, January 7, 2018

Framework - Multiple classes

Framework1: Below mentioned as packages 
- Business Components:
1. Multiple java files in each
- Pages --- xpath and actions
- 

Play with objects and variables

- Do you know we can create variable of type WebElement and WebObject. And we can make use of that variable to do some actions on the elements.

WebElement a;

set a = obj1.findElementByid("ssds");   'check if 'set' could be used or not
a.set "abc"    ' 'a' could be used like alias name for web element