Secondary Window NOT Opening - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Secondary Window NOT Opening (/Thread-Secondary-Window-NOT-Opening) |
Secondary Window NOT Opening - Marie - 11-15-2010 I am having a few issues and I am not sure if they are all related or not. I have posted about other issues, but here is another, just in case it is different or may help with the other issues I am having. I have an application that I am trying to write a test for, that has me right click on a link that is within the application. I then make a selection to Edit the item that I have right clicked on. When I select this edit option a new window is opened and then there are 2 tabs located on this new page. Within QTP the right click and Edit are being recorded, but the new page is not being opened. This then causes errors when the test looks for objects within this new secondary window, but is looking within the first window and cannot find what it is looking for. What is preventing this second window from opening?? RE: Secondary Window NOT Opening - Marie - 11-15-2010 I have figured out some more information that I am not sure if it will help or not: I have 2 different scripts. One right clicks on an item and then selects the edit option and the window is supposed to open, but does not open when running the test. The other script selects a menu item, which opens a secondary page, and this page opens when running the script. I have looked/compared the two scripts and they look almost exactly the same where the new page was to be opened: This is the one that is not opening the window: 'Line that is to open the screen Code: Browser("Browser").Page("GFM Warning").Frame("tree").Link("Edit Unit / Billet / Equipment").Click Code: Browser("USMC GFM Organization").Page("USMC GFM Organization").Frame("popupmain").Link("Alias").Click This is the one that is opening the secondary window: 'This the menu option that is selected Code: Browser("Browser").Page("GFM Warning").Frame("search").Link("Mass Updates - Common").Click Code: Browser("USMC GFM Organization").Page("USMC GFM Organization").Frame("popupmain").WebEdit("electronicEquipmentName").Set "A75977G" Does this help to figure out the issue? Does anyone have any ideas as to why this page will not open? |