Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP throws error on web elements when Descriptive programing used.
#4
Not Solved
Hi Kavita,
The solution is not working as it is displaying syntax error. Also I am new to QTP. Actually it is a web tab page not a link. Also I am having same Issue in the Cost Estimate page which contains an Image and it's name changes continuously. I parametrized as mentioned above but it is not working.

I am also attaching the code for this.

Code:
Browser("Works Information Management").Page("Works Information Management").Frame("Frame").Link("Cost Estimate").Click
Browser("Works Information Management").Page("Works Information Management").Frame("Frame_2").Image("javascript:OpenEstimate(8770,1").Click

It changed from Image("javascript:OpenEstimate(8770,1") to Image("^javascript:OpenEstimate(\d+$")

After parametrization in Object Repository the code changed automatically but not working.
I even tried Image("javascript:OpenEstimate(.*")

I turn on smart identification also before running the script.
Please help me.


Attached Files Image(s)
   
Reply


Messages In This Thread
RE: QTP throws error on web elements when Descriptive programing used. - by nistalaramesh - 11-19-2010, 06:33 PM

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

Forum Jump:


Users browsing this thread: 1 Guest(s)