Forum Discussion
tamaradepaus
12 years agoNew Contributor
Hi Javier,
Thank you for your answer. I tried both code solutions, but unfortunately both solutions don't work out for me.
When recording, it get below text, but in there everything is fixed. When I add a new account, the code doesn't work anymore.
function Test1()
{
var panel;
var panel2;
Browsers.Item(btChrome).Navigate("http://my.tst.soundofdata.com/");
panel = Sys.Browser().Page("http://my.tst.soundofdata.com/").Header(0).Aside(1).Panel(0).Panel("account_selector_chzn");
panel.Link(0).TextNode(0).Click(135, 10);
panel2 = panel.Panel(0);
panel2.Drag(405, 39, -5, 86);
panel2.TextNode("account_selector_chzn_o_12").Click(133, 21);
}
I'll work for now with above code and when I find a more flexible solution I'll post it here.
Thank you for your answer. I tried both code solutions, but unfortunately both solutions don't work out for me.
When recording, it get below text, but in there everything is fixed. When I add a new account, the code doesn't work anymore.
function Test1()
{
var panel;
var panel2;
Browsers.Item(btChrome).Navigate("http://my.tst.soundofdata.com/");
panel = Sys.Browser().Page("http://my.tst.soundofdata.com/").Header(0).Aside(1).Panel(0).Panel("account_selector_chzn");
panel.Link(0).TextNode(0).Click(135, 10);
panel2 = panel.Panel(0);
panel2.Drag(405, 39, -5, 86);
panel2.TextNode("account_selector_chzn_o_12").Click(133, 21);
}
I'll work for now with above code and when I find a more flexible solution I'll post it here.
Related Content
Recent Discussions
- 10 hours agoSvetaG