Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Runtime Object Identification Problem
#9
Solved: 11 Years, 4 Months, 3 Weeks ago
Please see one of the the ids below. Bold (0) gets changed in each iteration.
NewBulkInvoiceDetail:BulkInvoiceDetailScreen:BulkInvoiceItemsLV:0:BulkInvoiceItemsLV_ClaimNumber

Numbers will be increased 0 to 1000. It is in the middle of the string. How I can put a increamental loop their?


Let me give a try Ankur. Thank you so much!

Hi basanth27 and Ankur. Thank you for your help. You guys are awesome! I am sorry as I am pretty new in QTP.

The Ids for for 1st, 2nd and 3rd Editbox are

Code:
NewBulkInvoiceDetail:BulkInvoiceDetailScreen:BulkInvoiceItemsLV:0:BulkInvoiceItemsLV_ClaimNumber
NewBulkInvoiceDetail:BulkInvoiceDetailScreen:BulkInvoiceItemsLV:1:BulkInvoiceItemsLV_ClaimNumber
NewBulkInvoiceDetail:BulkInvoiceDetailScreen:BulkInvoiceItemsLV:2:BulkInvoiceItemsLV_ClaimNumber

So This is how I am trying for the 1st one

Code:
For z= 0 to 1000

id1st="NewBulkInvoiceDetail:BulkInvoiceDetailScreen:BulkInvoiceItemsLV:"
id2nd=z
id3rd=":BulkInvoiceItemsLV_ClaimNumber"

ClaimNumberId=id1st&id2nd&id3rd

Browser("micclass:=Browser").Page("micclass:=Page").WebEdit("html id:=ClaimNumberId").Set ""
Next

Please help me out.
Reply


Messages In This Thread
RE: Runtime Object Identification Problem - by qapandit - 06-29-2013, 02:48 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Kendo UI Object Identification vasavi.vasavi 5 4,262 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,840 02-11-2015, 08:23 PM
Last Post: Kirill
  Explain about object identification vikram 2 4,550 11-12-2014, 10:42 AM
Last Post: vinod123
  GMAIL Object Identification sidqtp 2 3,633 11-08-2014, 10:12 AM
Last Post: vinod123
  HAVING PROBLEM IN CREATING OBJECT OF TEST BATCH RUNNER mayankchauhan 0 3,453 04-04-2014, 05:29 PM
Last Post: mayankchauhan

Forum Jump:


Users browsing this thread: 8 Guest(s)