Forum Discussion
YMinaev
Staff
14 years agoHi,
1. Use code like this:
2. You can use either DDT to get values from your DB table, or connect to it via ADO. You can find the appropriate connection string for your DB here.
Once you connect to your DB table, retrieve the needed values from it and compare them with those you want to validate.
1. Use code like this:
var page = Sys.Process("iexplore").Page("*")
page.Panel("ghead").Panel("gog").Panel("gbar").Link(1).Click();
page.Refresh();
var link = page.Panel("ghead").Panel("gog").Panel("gbar").Panel("gbi").Find("innerText", "Put the link caption here");
if(link.Exists && link.VisibleOnScreen) link.Click();2. You can use either DDT to get values from your DB table, or connect to it via ADO. You can find the appropriate connection string for your DB here.
Once you connect to your DB table, retrieve the needed values from it and compare them with those you want to validate.