When I add an object to repository I can the XPath as below.
Code: Select all
body/form/div[@id='content']/div[@id='LoginPanel']/span/div[1]/input[@id='Login1_nameTextBox']
Code: Select all
*/*/*/*/*/*/input[@id='Login1_nameTextBox']
Thanks,
Suraj
Code: Select all
body/form/div[@id='content']/div[@id='LoginPanel']/span/div[1]/input[@id='Login1_nameTextBox']
Code: Select all
*/*/*/*/*/*/input[@id='Login1_nameTextBox']
Please take a look to following blog for more information about the RxPathSurajJaldu wrote:My question, is there a way to make the path more simple. Probably like '*/input[@id='Login1_nameTextBox']'. Just trying to eliminate the dependency on the hierarchy.