Hello Telerik Team,
I'm currently automating a script for a web based application that shows a Javascript alert as soon as Save is clicked in the application. However, the Telerik recorder is not able to capture it but I need to be able to accept the alert (click OK) in order to continue to the next step. Does Telerik support this type of scenario?
Thank you and look forward to your response.
Maria
Hi Team,
I have an issue when putting the action "Handle 'Generic' dialog" in condition IF...ELSE.
When I didn't use condition IF...ELSE, the step Handle 'Generic' dialog is PASSED.
This is the dialog that I want to handle:
And, this is the pass result:
But, when I used the condition IF...ELSE and put the Handle in the ELSE sentence. I got this error
I wonder why the Handle doesn't work in the ELSE sentence?
Please help me look into this problem.
Thanks and Regards,
Tien
Hi again.
Moving from iMb to Test Studio working out a few issues.
We save files using a name that includes the current date like below.
"New_File_all_all_20230911_001.csv"
We use the following string in iMb using a variable for the file number at the end(which we don't HAVE to have but it would be nice).
ONDOWNLOAD FOLDER=Z:\folder\folder_name\{{!NOW:yyyymmdd}} FILE=New_Filet_all_all_{{!NOW:yyyymmdd}}_00{{!VAR2}}.csv
Is this possible with Test Studio?
Thanks!
So im testing out Test Studio and when i try to record a task to displays a file chooser dialog, any actions done in the dialog are not recorded.
We use internally a notification mechanism that handle such dialog requests but in the end it does display a dialog window.
I believe that the issue is that the form SaveAs form called in the end is not a WPF dialog but a winform one. However it seems like there is no way to mix the two tests together.
I tried to create a Win form test and call it from my WPF test but it wont let me.
Is there any way to force the recording in that particular dialog?
Also on another question, what if my application opens windows explorer and would like to code some actions to be done in windows explorer. Im not sure i know how i can do that?
Thank you
Side panel disappearing while recording the scripts.
When I try and navigate away from a particular page on my site I get the following error as it thinks I have made a change but haven't;
"Leave site?
Changes that you made may not be saved."
2 options (buttons) "Leave" and "Cancel"
I want to click "Leave" but Test Studio does allow me to identify the leave button.
Any ideas how I get around this?
Thanks
Adrian
I'm automating a web system in Internet Explorer (the only browser supported). At a given point, I'm supposed to click a button and that should launch a second window. When clicking the button, this security dialog pops up: "Only secure content is displayed." and clicking in "Show all content" should allow the new window to open up.
Since the dialog is not a part of the DOM, I can't record it. Perhaps a coded step would be the solution, but I can't make it work. Any suggestions? Thanks!
Hi,
I am trying to implement SaveAsDialog class in my coded step and receive this compilation error:
[ Compiler ] error CS1729: 'ArtOfTest.WebAii.Win32.Dialogs.SaveAsDialog' does not contain a constructor that takes 4 arguments 12:22:14 'INFO' > Build Failed
This is weird, as I follow the documentation here for the class. How is it possible that now the compilation error here show the constructor does not take in 4 arguments?
Following is the code I have written:
SaveAsDialog dialog = new SaveAsDialog (Manager.ActiveBrowser, DialogButton.SAVE , @filepath, Manager.Desktop);
Manager.DialogMonitor.Start();
dialog.SaveFileName = filename;
dialog.WaitUntilHandled(30000);
Anyone can help?
Thanks in advance.
Good morning,
I am trying to add dialog elements to my tests but none of them shows up. I even tried testing as a step but no luck. I see that the browser handlers are up to date. Any help would be appreciated.