A tricky QTP Question - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: A tricky QTP Question (/Thread-A-tricky-QTP-Question) Pages:
1
2
|
RE: A tricky QTP Question - souvikghosh_diatm - 08-16-2012 Add two objects differently in OR, and see there must be some property value which differs to make them recognizable independently. Either that property is "index" or something else. U have to find that out. Or u upload the screen shot of two different screen shots for two different objects. Use ".highlight" property to check whether both Objects are indication or highlighting the same object or not. RE: A tricky QTP Question - srik2908 - 10-01-2012 Is you smart Identification turned on for those two objects? That either causes trouble or helps sometimes... RE: A tricky QTP Question - krr - 10-04-2012 You can do below things: 1. Code: OracleFormWindow("RMS Start Menu").OracleTree("Contents Of Items").Select "Items" 2. You can use childitems method for the object "OracleFormWindow("RMS Start Menu").OracleTree("Contents Of Items")". After this you can click on the desired index. Code: set strformWindow = OracleFormWindow("RMS Start Menu").OracleTree("Contents Of Items").ChildObjects Let me know if something works. |