Selenium jars have inbuilt interface that could help us take screenshots with less effort.
Monday, January 8, 2018
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
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
Subscribe to:
Posts (Atom)