Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get text of weblement
#5
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi Manish,

I have parameterze the Fly From and Fly TO for different City.
It works for first parameter.But when it comes to second parameter it displayed following error message.

The test run cannot continue due to an unrecoverable error.

Cannot identify the object "Frankfurt to New York" (of class WebElement). Verify that this object's properties match an object currently displayed in your application.

Line (8):
Code:
"Browser("Welcome: Mercury Tours").Page("Select a Flight: Mercury").WebElement("Frankfurt to New York").Check CheckPoint("Frankfurt to New York")".

The problem here is that the webelement("Frankfurt to New York"),changes as Fly From and Fly To get chnaged.

Will you please guide me how to use regular expression for this WebElement("Frankfurt to New York") ?
Reply


Messages In This Thread
How to get text of weblement - by sudhirzpatil - 12-15-2010, 11:13 PM
RE: How to get text of weblement - by sudhirzpatil - 12-18-2010, 05:38 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need to Validate Text filed is blank after clicking on the Text box balak89 3 4,894 09-13-2015, 12:06 AM
Last Post: ADITI1992
  I am trying to extract text from a webelement but it is generating blank text scenari excellentpawan 2 4,664 08-13-2013, 08:37 PM
Last Post: excellentpawan
  how to find a particular text in a text string pjavvaru 3 17,064 06-04-2010, 08:49 PM
Last Post: jsknight1969
  Retrieve text from Text Checkpoint Amit Singh Chauhan 1 2,504 08-20-2009, 07:15 PM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 2 Guest(s)