Forum Discussion
Do you want any specific property or all the basic properties
i am using Execute(strCommandLine) this command to execute.
where strCommandLine = call Sys.Browser("iexplore").Page("*").Form("aspnetForm").Panel("divHeaderAndContent").Panel("contentWrapper").Panel(0).Panel(0).Panel(2).Panel(0).Panel(0).Panel(0).Panel(0).Panel(0).Panel(0).Panel(0).Table(0).Cell(0, 0).Panel(0).Panel(0).Panel(0).Link(0).click
Your target element (Link) has the "Height" property == 0 => "VisibleOnScreen" == False
This is why TestComplete engine can't interact with it.
Possible workaround is to interact with its parent element - Panel
But I bet that this is a kind of application code issue. Can you check CSS code for this kind of element? Especially its display property.
- ameykhopade9 years agoContributor
Hi sorry for late post.
I changed the CSS display property and TC was able to get that object.
But is their any alternative way to get the object other than making changes in the application code.
Does that mean if VisibleOnScreen property is false then the object is not caught/recognize by TC ??
- Colin_McCrae9 years agoCommunity Hero
I suspect it find it OK as it does exist.
But then it can't click it as the height is Zero. So it thinks there is nothing to click on.
If you don't wanna mess with the source code, can you just apply the click to the container panel instead? Assuming it's both visible and clickable.
- ameykhopade9 years agoContributor
hi
i tried click on the panel but the problem is that it is clicking in the center of the panel and their the "Name" is present which just sorts the list.
where else i need to click on the filter image so that i can input the name and filter the required.
Even if i use the co-ordinates it is not working as the co-ordinates are not constant, the width of the column changes according to the names in the list so cant use the co-ordinates as well.
Related Content
- 8 years ago
Recent Discussions
- 12 hours ago