Forum Discussion
Can you show the properties of this element: Sys.Browser("iexplore").Page("*").Form("aspnetForm
What do you see in the Object Browser?
Also I recommend to go through this topic: https://support.smartbear.com/viewarticle/86688/
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
- baxatob9 years agoCommunity Hero
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.
Related Content
- 8 years ago
Recent Discussions
- 3 days ago
- 3 days ago
- 6 days ago