wynand_bwr
12 years agoOccasional Contributor
Web Application Session Variables
Hi All
Can someone please assist me with the following problem that I have?
I have a keyword test of a web application. But I have to re-map the logout button of the web application with each new login. I believe this is caused by a session variable, as a user will be logged out after a certain amount of time e.g 10min.
The button name is never the same when I re-map it with each new login e.g the current session it will be named link68 and the next session link72.
How can I overcome this issue? I do not want to re-map the menu button each time I run the keyword test?
I converted my keyword test to script.
The button is named link68
//Clicks the 'linkA68' control.
Aliases.browser.pageMaxbankPortal.panelZen1.tableGroup1.cell.panelMainmenu.tableGroup2.cell.panelMainmenuLogbg.tableGroup29.cell.panelMainmenuMainmenu.tableGroup34.cell1.panelMainmenuMlogout.linkA68.Click();
Thank you
Wynand
Can someone please assist me with the following problem that I have?
I have a keyword test of a web application. But I have to re-map the logout button of the web application with each new login. I believe this is caused by a session variable, as a user will be logged out after a certain amount of time e.g 10min.
The button name is never the same when I re-map it with each new login e.g the current session it will be named link68 and the next session link72.
How can I overcome this issue? I do not want to re-map the menu button each time I run the keyword test?
I converted my keyword test to script.
The button is named link68
//Clicks the 'linkA68' control.
Aliases.browser.pageMaxbankPortal.panelZen1.tableGroup1.cell.panelMainmenu.tableGroup2.cell.panelMainmenuLogbg.tableGroup29.cell.panelMainmenuMainmenu.tableGroup34.cell1.panelMainmenuMlogout.linkA68.Click();
Thank you
Wynand