I am using QTP 9.0
When I execute the following, I get no errors, when I playback:
Browser("Browser").Page("Page_2").Frame("display").WebElement("WebTable").Click
Browser("Browser").Page("Page_2").Frame("display").WebButton("WebButton").Click
Browser("Browser").Page("Page_2").Frame("display_2").WebButton("Sender/Receiver").Click
Browser("Browser").Page("Page_2").Frame("footer").WebButton("Save").Click
... I enter the page, select another tab, then select [Save]
The same is true I execute the following, when I playback:
Browser("Browser").Page("Page_2").Frame("footer").WebButton("Save").Click
... I am already on the pass and select [Save]
However, when I execute the following, I get an error, when I playback:
Browser("Browser").Page("Page_2").Frame("display").WebElement("WebTable").Click
Browser("Browser").Page("Page_2").Frame("display").WebButton("WebButton").Click
Browser("Browser").Page("Page_2").Frame("footer").WebButton("Save").Click
... I enter the page, then select [Save]
Run Error
Cannot identify the object "Save" (of class WebButton). Verify that this object's properties match an object currently displayed in your application.
Line (52) "Browser("Browser").Page("Page_2").Frame("footer").WebButton("Save").Click"
Run Time Error : Save ..
Cannot identify the object "Save" (of class WebButton). Verify that this object's properties match an object currently displayed in your application.
Description : Save ...
Object's phyiscal description:
Visible = -1
Type = button
Name = Save
Mercury Class = WebButton
Html Tag = BUTTON
Html Id = DHTML Class = submitButton
... What can I do, so I don't have to slect another tab to [Save]. Also, QTP scripts work one day and not the next ... and there hasn't been any changes to the application.
When I execute the following, I get no errors, when I playback:
Browser("Browser").Page("Page_2").Frame("display").WebElement("WebTable").Click
Browser("Browser").Page("Page_2").Frame("display").WebButton("WebButton").Click
Browser("Browser").Page("Page_2").Frame("display_2").WebButton("Sender/Receiver").Click
Browser("Browser").Page("Page_2").Frame("footer").WebButton("Save").Click
... I enter the page, select another tab, then select [Save]
The same is true I execute the following, when I playback:
Browser("Browser").Page("Page_2").Frame("footer").WebButton("Save").Click
... I am already on the pass and select [Save]
However, when I execute the following, I get an error, when I playback:
Browser("Browser").Page("Page_2").Frame("display").WebElement("WebTable").Click
Browser("Browser").Page("Page_2").Frame("display").WebButton("WebButton").Click
Browser("Browser").Page("Page_2").Frame("footer").WebButton("Save").Click
... I enter the page, then select [Save]
Run Error
Cannot identify the object "Save" (of class WebButton). Verify that this object's properties match an object currently displayed in your application.
Line (52) "Browser("Browser").Page("Page_2").Frame("footer").WebButton("Save").Click"
Run Time Error : Save ..
Cannot identify the object "Save" (of class WebButton). Verify that this object's properties match an object currently displayed in your application.
Description : Save ...
Object's phyiscal description:
Visible = -1
Type = button
Name = Save
Mercury Class = WebButton
Html Tag = BUTTON
Html Id = DHTML Class = submitButton
... What can I do, so I don't have to slect another tab to [Save]. Also, QTP scripts work one day and not the next ... and there hasn't been any changes to the application.