Forum Discussion

sathya_manokar's avatar
sathya_manokar
Occasional Contributor
10 years ago

Not able click on numbers of link in the same page

I am working on Question and Answer page. From there it having 16 questions.Count and length method it dint support

 

When i click on that question it will expand and display the answer for specific questions. Here i cant able to write common fn for clicking the links coz i could not able to find common property.

 

First link:

Sys.Browser("chrome").Page("https://uat.kreditstatus.dk/FAQ.aspx").Form("form1").Panel(3).Panel(0).Section("content_area").Panel(0).Panel(0).Panel(0).Panel(0).Panel(1).Panel(0).Link(0).TextNode("ContentPlaceHolder1_Label1")

 

Second link:

Sys.Browser("chrome").Page("https://uat.kreditstatus.dk/FAQ.aspx").Form("form1").Panel(3).Panel(0).Section("content_area").Panel(0).Panel(0).Panel(0).Panel(0).Panel(1).Panel(0).Link(1).TextNode("ContentPlaceHolder1_Label2")

 

The whole panel which is having the links:

Sys.Browser("chrome").Page("https://uat.kreditstatus.dk/FAQ.aspx").Form("form1").Panel(3).Panel(0).Section("content_area").Panel(0).Panel(0).Panel(0).Panel(0).Panel(1).Panel(0)