How to solve QTP “Object not visible” issue.
I found an issue “Object not visible” during using QTP automation: Browser(“Arris – Work Assure”).Page(“Arris – Work Assure”).Frame(“main”).WebButton(“Copy”).Click
The clause above is meant to click “Copy” button, however, when it comes to this clause, always pop up “Object not visible” error. By searching from online, I have done the following steps:
1) Got to Object Repository and find WebButton(“Copy”) object, then set its Type into button + Regular expression (Check this option), and add into Description properties, but error still happens.
2) Got to Object Repository and find WebButton(“Copy”) object, then set the value of “visible” to True, and add it into Description properties, but error still happens.
3) Found the following objects: Browser(“Arris – Work Assure”) ,Page(“Arris – Work Assure”) and Frame(“main”). Set all of them “visible” to be True, and add into Description properties, but error still happens.
Note that, all three steps above uses the following clauses to verify the value of Visible is true: msgbox Browser(“Arris – Work Assure”).Page(“Arris – Work Assure”).Frame(“main”).WebButton(“Copy”).getroproperty(“visible”)
4) Use the “Highlight in application” tool in “Object Repository” to highlight the objects mentioned above, but error still happens.
5) By further searching online, found that dual screens of computer affect QTP. I am using two monitors on my PC. Then I put QTP and IE browser running on the same monitor, the issue is resolved. Note that: Not only QTP and IE browser need to be run on the same screen, also need to run on the same screen as the Windows Start menu.
Filed under: IT Technology

[...] By further searching online, found that dual screens of computer affect QTP. I am using two monitors on my PC. Then I put QTP and IE browser running on the same monitor, the [...]