Skip to main content
improved answer
Source Link
Bharat Mane
  • 6.8k
  • 11
  • 41
  • 69

It will be difficult to maintain SeeTest automation using POM because if we declare all the paths like

"public static By launchpad_button = By.xpath("//*[@id='text']");"

public static By launchpad_button = By.xpath("//*[@id='text']");

but the commands in SeeTest are like below

driver.client.elementSendText("NATIVE", "xpath=//*[@id='text']", 0 ,"Testing");

driver.client.elementSendText("NATIVE", "xpath=//*[@id='text']", 0 ,"Testing");

So you need to add xpath again while using SeeTest commands

*

Its useful in the Selenium + Webdriver but i thinks it will wast in Selenium Webdriver + SeeTest

 

It will be difficult to maintain SeeTest automation using POM because if we declare all the paths like

"public static By launchpad_button = By.xpath("//*[@id='text']");"

but the commands in SeeTest are like below

driver.client.elementSendText("NATIVE", "xpath=//*[@id='text']", 0 ,"Testing");

So you need to add xpath again while using SeeTest commands

*

Its useful in the Selenium + Webdriver but i thinks it will wast in Selenium Webdriver + SeeTest

 

It will be difficult to maintain SeeTest automation using POM because if we declare all the paths like

public static By launchpad_button = By.xpath("//*[@id='text']");

but the commands in SeeTest are like below

driver.client.elementSendText("NATIVE", "xpath=//*[@id='text']", 0 ,"Testing");

So you need to add xpath again while using SeeTest commands

Its useful in the Selenium + Webdriver but i thinks it will wast in Selenium Webdriver + SeeTest

Source Link
Gaurav
  • 327
  • 2
  • 3
  • 17

It will be difficult to maintain SeeTest automation using POM because if we declare all the paths like

"public static By launchpad_button = By.xpath("//*[@id='text']");"

but the commands in SeeTest are like below

driver.client.elementSendText("NATIVE", "xpath=//*[@id='text']", 0 ,"Testing");

So you need to add xpath again while using SeeTest commands

*

Its useful in the Selenium + Webdriver but i thinks it will wast in Selenium Webdriver + SeeTest