This question is locked. New answers and comments are not allowed.
Courtney Weatherton
Top achievements
Rank 1
Courtney Weatherton
asked on 25 Feb 2010, 08:58 PM
I have a test that creates a piece of content using a RadWindow. I can fill in some fields and click the save button, which in turn creates an entry in our system and closes the RadWindow. When I record the steps everything works fine. However, when I play back the test, the window closes properly but it does not create the new entry. It is behaving like I clicked the Cancel or 'X' button on the window instead of the Save.
I have also tried usin the desktop command of LeftClick on the button and I have tried pressing enter from one of the fields (which essentially triggers the save). Also note that because of the issues the web testing tools have with iFrames finding elements in the DOM, I have removed the radWindow's iframe source and id. I have attached a screen shot of the RadWindow in case it helps.
Thanks
I have also tried usin the desktop command of LeftClick on the button and I have tried pressing enter from one of the fields (which essentially triggers the save). Also note that because of the issues the web testing tools have with iFrames finding elements in the DOM, I have removed the radWindow's iframe source and id. I have attached a screen shot of the RadWindow in case it helps.
Thanks
5 Answers, 1 is accepted
0
Hello Courtney,
Just to confirm, are you using the latest version (2009-3-1424 released yesterday) available on the downloads page? If so, the RadWindow work around of using just the Index for the frame should no longer be necessary.
For the button, if you could please re-record the click on the save button normally. Then in the Properties Window for that step, make sure that the 'SimulateRealClick' property is set to False, the 'ClosesBrowser' property is set to True, and then save the test.
Please post back if this does not fix the problem.
Best wishes,
Nelson Sin
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Just to confirm, are you using the latest version (2009-3-1424 released yesterday) available on the downloads page? If so, the RadWindow work around of using just the Index for the frame should no longer be necessary.
For the button, if you could please re-record the click on the save button normally. Then in the Properties Window for that step, make sure that the 'SimulateRealClick' property is set to False, the 'ClosesBrowser' property is set to True, and then save the test.
Please post back if this does not fix the problem.
Best wishes,
Nelson Sin
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Courtney Weatherton
Top achievements
Rank 1
answered on 26 Feb 2010, 03:49 PM
Hi Nelson,
That's great news about the fix for RadWindow. I'll let my team know.
I tried setting 'SimulateRealClick' to False and 'ClosesBrowser' to True on the step for "Click 'SaveButton'" but it doesn't appear to have had any affect. Any other ideas?
Thanks,
Courtney
That's great news about the fix for RadWindow. I'll let my team know.
I tried setting 'SimulateRealClick' to False and 'ClosesBrowser' to True on the step for "Click 'SaveButton'" but it doesn't appear to have had any affect. Any other ideas?
Thanks,
Courtney
0
Hi again Courtney,
Is the SaveButton step using the current RadWindow work around of just using the Index for the frame node?
I tested clicking on a button with the work around and the 2009.3.1327 version, and it seems to work with SimulateRealClick set to False, ClosesBrowser to False.
And are you working on the same web app as Julie Kies? She allowed us access to a test site, so I was wondering if there is something on there similar to this that I can repro against.
Best wishes,
Nelson
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Is the SaveButton step using the current RadWindow work around of just using the Index for the frame node?
I tested clicking on a button with the work around and the 2009.3.1327 version, and it seems to work with SimulateRealClick set to False, ClosesBrowser to False.
And are you working on the same web app as Julie Kies? She allowed us access to a test site, so I was wondering if there is something on there similar to this that I can repro against.
Best wishes,
Nelson
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Courtney Weatherton
Top achievements
Rank 1
answered on 26 Feb 2010, 10:22 PM
Hi Nelson,
While trying to get a website available to you I was able to find what the problem was. On our form, when we type in one field, it auto-fills a field below. Since the recording doesn't simulate a user actually typing, the field below was never filled out. And since clicking Save also closes the window, I never saw the error. I've added another step in the test to also fill out the auto-fill field and everything is working now.
Thanks for your help.
Courtney
While trying to get a website available to you I was able to find what the problem was. On our form, when we type in one field, it auto-fills a field below. Since the recording doesn't simulate a user actually typing, the field below was never filled out. And since clicking Save also closes the window, I never saw the error. I've added another step in the test to also fill out the auto-fill field and everything is working now.
Thanks for your help.
Courtney
0
Hi again Courtney,
Thanks for the update and I'm glad you got it working. Yeah, I forgot that some of the Rad controls will not react unless the inputs are simulated.
Kind regards,
Nelson
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Thanks for the update and I'm glad you got it working. Yeah, I forgot that some of the Rad controls will not react unless the inputs are simulated.
Kind regards,
Nelson
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.