Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hepl required to dyanamically identified username and create the object in object rep
#10
Not Solved
Saw the screenshot. The one you have highlighted is a WebButton.

Where as in the below code which we are using is WebElement. This the object which u get when you hit Search.

I mean this object will hold the value "0 records returned" or "1 records returned".

Plz add the object which dispalys the above msg to OR and use the Same name, as in OR, in the below code in place of ResultMsgObjectName.

Code:
strResultMsg= Browser("Browser").Page("Page").Frame("workarea").webelement("<ResultMsgObjectName>").GetROProperty("innertext")".


Regards,
Ankesh
Reply


Messages In This Thread
RE:Hepl required to dyanamicallyidentified username and create theobject in objectrep - by Ankesh - 11-24-2011, 07:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  ActiveX component can't create object: 'JavaWindow' JayeshK 0 1,502 01-07-2021, 01:12 PM
Last Post: JayeshK
  Create Terminal as object dapeamel 0 2,997 02-16-2018, 07:09 PM
Last Post: dapeamel
  object spy not recognizing object.. pleaseeeee help Sonia Sadeque 3 3,214 12-22-2016, 02:42 PM
Last Post: ishan.mahajan@adp.com
  When trying to recognize the object in QTP, each object is recognized as “WinObject:S geetasarvadnya 2 3,520 10-28-2015, 12:34 PM
Last Post: vinod123
  Object identified despite having no information mjt 1 1,916 09-14-2015, 08:25 PM
Last Post: mjt

Forum Jump:


Users browsing this thread: 1 Guest(s)