Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A tricky QTP Question
#11
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.
Reply
#12
Is you smart Identification turned on for those two objects? That either causes trouble or helps sometimes...
Reply
#13
You can do below things:

1.
Code:
OracleFormWindow("RMS Start Menu").OracleTree("Contents Of Items").Select "Items" OracleFormWindow("RMS Start Menu").OracleTree("Contents Of Items").Select "EDI New 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 strformWindow(10).click strformWindow(14).click

Let me know if something works.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP/UFT 12.02 recording question .Page vs .SAPPortal LG.Campbell 5 5,994 03-16-2016, 10:10 AM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)