gvedula
13 years agoNew Contributor
Using Regular expression in web testing
Hi,
I am currently testing a ecommerce website. I am recording a script and using datadriven loop to repeat the same tests with different users. I am recording a transfer action. However, when selecting transfers, since different users will not have the same account, I need to use regular expressions on soemthing else to say use any account that has "visa" in the description. Otherwise, its always trying to find acct nbr 12345 but others users will not have this account but they will have a diff visa acct. Here's my namemapping editor.
I am currently testing a ecommerce website. I am recording a script and using datadriven loop to repeat the same tests with different users. I am recording a transfer action. However, when selecting transfers, since different users will not have the same account, I need to use regular expressions on soemthing else to say use any account that has "visa" in the description. Otherwise, its always trying to find acct nbr 12345 but others users will not have this account but they will have a diff visa acct. Here's my namemapping editor.