Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP fails to recognize object at runtime.
#1
Not Solved
Hi,

The problem is that i have one table that contains a column. Each row of this column contais "Link" (HyperLink) object. The statement mentioned below executed in a for loop.

Code:
For j=1 to 2
"Browser("Bajaj Learning Resource").Page("Bajaj Learning Resource").Frame("frmContent_6").Link("Content Assessment1").Click"
Next

I just want that in each cycle of this loop QTP recognize different "Link" (HyperLink) for different row of the column.

If i do somthing like this, the name of "Link" changed in each cycle and this name exists in the table. than QTP gives an error massege that this object is not found in object repositry.

My question is that "How to create objects at run time"

Ashish
Reply
#2
Not Solved
HI Ashish

As what I understand that ur link name is changing like Assessment1 ,Assesment2, then u have to use regular exp.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Click after CheckProperty to a WebElement passed via Function argument fails naruoga 0 1,154 02-28-2019, 11:46 AM
Last Post: naruoga
  Unable to recognize objects in SilverLight application through QTP Guest877 1 2,650 08-03-2018, 08:33 AM
Last Post: Manisha
  Collecting Objects And Object State At Runtime zunebuggy 3 1,715 11-22-2017, 02:37 PM
Last Post: supputuri
  When trying to recognize the object in QTP, each object is recognized as “WinObject:S geetasarvadnya 2 3,759 10-28-2015, 12:34 PM
Last Post: vinod123
Exclamation SAPGuiUtil.Autologon method fails liorde 2 5,943 10-25-2015, 02:08 PM
Last Post: liorde

Forum Jump:


Users browsing this thread: 1 Guest(s)