- anbuchozhanActive particpant
- Posts : 10
Join date : 2016-07-29
Location : Chennai
Maintaining WebElements in JSON/Text File Instead of using PageFactory
Fri Jul 14, 2017 1:20 pm
Hi All,
I heard like we can keep the webelements & access it from JSON/text file instead of have those in all class files.
Can any one share how can we maintain web elements in Text file & how to access those in our tests?
Thanks,
Anbuchozhan
I heard like we can keep the webelements & access it from JSON/text file instead of have those in all class files.
Can any one share how can we maintain web elements in Text file & how to access those in our tests?
Thanks,
Anbuchozhan
Re: Maintaining WebElements in JSON/Text File Instead of using PageFactory
Tue Jul 10, 2018 7:03 pm
checkout this :
http://toolsqa.com/selenium-webdriver/object-repository-for-selenium-using-json/
http://toolsqa.com/selenium-webdriver/object-repository-for-selenium-using-json/
- Write the variable into a text file.
- How to get the tittle of a object (not window), bcz title holds the full text but inner text holds only 25 char of text (in RC and Webdriver)
- Selenium Automatically clears the text entered in text box-Dynamic Web Table(dgrid)
- How to Sort List<WebElements>
- Unable to enter text into the Code mirro text box
Permissions in this forum:
You cannot reply to topics in this forum