12-18-2010, 05:38 PM
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):
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") ?
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") ?