Regular expresstion for locators (xpath)
it can be used when values are keep changing
ex - username1,username2 etx...
Note: Keep contstant word a side
syntax - //tagName[contains(@attribute,'value')]
ex - //input[contains(@name,'username')]
it can be used when values are keep changing
ex - username1,username2 etx...
Note: Keep contstant word a side
syntax - //tagName[contains(@attribute,'value')]
ex - //input[contains(@name,'username')]
No comments:
Post a Comment