Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Runtime Object Identification Problem
#1
Solved: 11 Years, 3 Months ago
First of all I am very happy finding this awesome forum!! My first dsay and first post!!!


Anyway, Let's jump into the problem!

In one of QTP Scripts I have to add one row in each iteration in a Web-Table. I will have to add 1000 rows in this way, so 1000 iterations!!OMG

Problem is that in each newly added row there are multiple Objects (Edit box and List). I need to perform action on all objects in each row. Please see below screen-shot.
[Image: 1.png]


I had the same kind of problem last week. But only one weblist was being added in each iteration. I wrote the following code.It works fine.


Code:
Browser("...").Page("...").Link("AddRoles").Click

Set Desc = Description.Create()
Desc("micclass").Value = "WebList"
Set Lists= Browser("...").Page("...").WebTable("Roles").ChildObjects(Desc)
Lists.Count
Max = Lists.Count -1

For x = 1 to Max
Lists(x).Select "....."
Next

Browser("...").Page("...").WebList("....."). Select "......"
End If


But in today's scenario in each iteration multiple objects are being added (Edit box and List) in the run. I am confused how to identify them individually. Please help Gurus.
Reply


Messages In This Thread
Runtime Object Identification Problem - by qapandit - 06-19-2013, 04:37 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Kendo UI Object Identification vasavi.vasavi 5 4,110 07-10-2020, 10:19 AM
Last Post: mariamattathil93@gmail.com
  webfile web object not identified at runtime in a java application saila123 1 2,773 02-11-2015, 08:23 PM
Last Post: Kirill
  Explain about object identification vikram 2 4,430 11-12-2014, 10:42 AM
Last Post: vinod123
  GMAIL Object Identification sidqtp 2 3,582 11-08-2014, 10:12 AM
Last Post: vinod123
  HAVING PROBLEM IN CREATING OBJECT OF TEST BATCH RUNNER mayankchauhan 0 3,418 04-04-2014, 05:29 PM
Last Post: mayankchauhan

Forum Jump:


Users browsing this thread: 1 Guest(s)