|
RIAtest3 Cannot grab the overlap title windows 1 Month, 4 Weeks ago
|
|
|
environment:RIAtest3
problem:
RIATest3 cannot grab two overlapped windows. the second window cannot be displayed.
background:
In the browse, there are several function menus to display related FlexTitleWindows, called them menu 1, menu2.
click menu1 will display FlexTitleWindow1.
click menu2 will display FlexTitleWindow2.
these two windows are overlapeped.
Operation:
Record operations in FlexTitleWindow1. then click menu2 to display FlexTitleWindow2 and do some operations.
Playback the records. the Play is stopped in the first operation in FlexTitleWindow2 and there is an error" Action failed: change, Cannot find object by locator****"
And actually the FlexTitleWindow2 is not displayed.
I tried several ways but failed. Can someone provide help on this? Thanks alot!
|
|
|
Logged
|
|
|
The administrator has disabled public write access.
|
|
|
Re:RIAtest3 Cannot grab the overlap title windows 1 Month, 3 Weeks ago
|
|
|
You need to figure out why the FlexTitleWindow2 is not displayed. It probably indicates that the action that should make it visible was not properly executed. Unfortunately without knowing more details it is impossible to advise further.
|
|
|
Logged
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
Re:RIAtest3 Cannot grab the overlap title windows 1 Month, 3 Weeks ago
|
|
|
Thanks for reply.
Actually in the browser, the FlexTitleWindow2 is displayed correctly. But it seems RIATest3 didn't grab this change.
In the Inspect window, there is only one FlexTitleWindow1.
Dear Admin,
can you let me know what the debug log can help to find the root cause? I can get the log. thanks again.
|
|
|
Logged
|
|
|
The administrator has disabled public write access.
|
|
|
Re:RIAtest3 Cannot grab the overlap title windows 1 Month, 3 Weeks ago
|
|
|
Sorry, I am not sure I understand what is the problem. You first said:
And actually the FlexTitleWindow2 is not displayed.
Now you say:
Actually in the browser, the FlexTitleWindow2 is displayed correctly.
Anyway the root problem is that the script is attempting to perform a "change" action on something that cannot be found as indicated by "Cannot find object by locator" error message. You need to figure out why this is happening. There is no way that we can know the answer to this without seeing your script, your application and knowing how the application works.
|
|
|
Logged
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
Re:RIAtest3 Cannot grab the overlap title windows 1 Month, 3 Weeks ago
|
|
|
RIATest wrote:
[quote]Sorry, I am not sure I understand what is the problem. You first said:
And actually the FlexTitleWindow2 is not displayed.
Now you say:
Actually in the browser, the FlexTitleWindow2 is displayed correctly.
Sorry for the confusing words.
when I record the test, the FlexTitleWindow2 was displayed correctly.
then when I replayed the test scripts, the FlexTitleWindow2 was not displayed.
it seems RIAtest didn't grab the change when I record the test.
agree, it's hard to debug it without joining the test session.
|
|
|
Logged
|
|
|
The administrator has disabled public write access.
|
|
|
Re:RIAtest3 Cannot grab the overlap title windows 1 Month, 3 Weeks ago
|
|
|
leqiang wrote:
when I record the test, the FlexTitleWindow2 was displayed correctly.
then when I replayed the test scripts, the FlexTitleWindow2 was not displayed.
So, the problem is that when replaying some action that should result in displaying FlexTitleWindow2 is not correctly played back. You need to debug your test script to understand what exactly is wrong by looking at the preceding actions and maybe executing them step by step and ensuring they have the desired effect.
|
|
|
Logged
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|