sakorn_s
12 years agoOccasional Contributor
Click link problem
function call(){
Browsers.Item(btIExplorer).Navigate("http://172.16.11.84/demo/SettingCity");
clickLink();
Delay(5000);
clickLink();
}
function clickLink()
{
var linkBt,page;
page = Sys.Browser("*").Page("*");
linkBt = page.NativeWebObject.Find("href","javascript:load_list_detail('http://172.16.11.84/demo/','c_country_code','1');");
if(linkBt.Exists){
linkBt.Click();
Log.Message("click suc")
page.Wait();
}
}
i want to click sort Country code
in function Call, i want to clickLink 2 time
in first time click in colum web
and in secound time testcomplete not click but show in Log even is click success i don.t understand Helpme pls.