Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP throws error on web elements when Descriptive programing used.
#1
Not Solved
If I record in QTP-10 for clicking on a web tab page I am getting the below type of code.
Code:
Browser("Works Information Management").Page("Works Information Management").Frame("Frame").Link("Cost Estimate").Click

But Frame is Dynamic & name changes always as Frame_1, Frame _2….etc.

I changed the code as below using Spy
Code:
Browser("title:=Works Information Management System").Page("title:=Works Information Management System").Frame("micclass:=Frame").Link("title:=Cost Estimate").Click

I am getting error while executing.

I even tried below code:
Code:
Browser("title:=Works Information Management System").page("title:=Works Information Management System").Frame("micclass:=Frame").webtable("column names:=Add New Work;").Link("innertext:=Cost Estimate").WebElement("innerhtml:=Cost Estimate").Click

I am attaching the error Screen Shot & Spy screen

Please help me ASAP.


Attached Files Image(s)
   
Reply


Messages In This Thread
QTP throws error on web elements when Descriptive programing used. - by nistalaramesh - 11-19-2010, 11:20 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Descriptive programing kedala 1 2,733 10-04-2016, 09:25 PM
Last Post: venkatesh9032
Smile find out of spelling error in Web application deveshbhatt29 1 2,207 01-10-2014, 05:10 PM
Last Post: Maheep_bhambri
  Getting an 'Error in XML document' Error when submitting web services XML luckyexpert 0 3,118 08-20-2013, 10:23 PM
Last Post: luckyexpert
  Web Table Descriptive Language karraaruna 3 3,456 07-04-2013, 08:06 PM
Last Post: karraaruna
  Web Elements DL karraaruna 3 3,204 06-06-2013, 10:05 AM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 7 Guest(s)