Search found 16 matches
- Mon Jul 14, 2014 4:05 pm
- Forum: General Questions
- Topic: Run Powershell script in Ranorex Solution?
- Replies: 3
- Views: 4062
Re: Run Powershell script in Ranorex Solution?
Hi Robert, thank you very much for your link. It works fine but write Powershell commands in C# as UserCodeModule - it would not so flexible for any changes in Powershell logic. On the other way I would call PS in Batch file (.cmd) such as start /B powershell.exe -file ".\doSomething.ps1" then put i...
- Thu Jul 10, 2014 11:30 am
- Forum: General Questions
- Topic: Run Powershell script in Ranorex Solution?
- Replies: 3
- Views: 4062
Run Powershell script in Ranorex Solution?
Hello, can I call Powershell script "doSomething.ps1" in Ranorex TestSuite? in UserCodeModule or in Recoding as "Run Application"? Many thanks!
- Wed Jan 29, 2014 4:57 pm
- Forum: How To …
- Topic: Convert Test Suite solution to Test Suite Module Library?
- Replies: 4
- Views: 3449
Re: Convert Test Suite solution to Test Suite Module Library?
Hi Robert,
that is great, thank you very much!
Best wishes
that is great, thank you very much!
Best wishes
- Tue Jan 28, 2014 12:28 pm
- Forum: How To …
- Topic: Convert Test Suite solution to Test Suite Module Library?
- Replies: 4
- Views: 3449
Convert Test Suite solution to Test Suite Module Library?
Hello all,
I have created a normal solution as “Test Suite” and created recordings in the solution. Can I convert the solution as “Test Suite Module Library” completely? How about the repository? The option “Copy recordings” is not so easy.
Many thanks!
I have created a normal solution as “Test Suite” and created recordings in the solution. Can I convert the solution as “Test Suite Module Library” completely? How about the repository? The option “Copy recordings” is not so easy.
Many thanks!
- Wed Oct 16, 2013 12:04 pm
- Forum: Automation Tools
- Topic: Definition by cases „If .. else” in recoding level (.rxrec)?
- Replies: 7
- Views: 3616
Re: Definition by cases „If .. else” in recoding level (.rxrec)?
Hi Boris,
thanks for your reply. I would create new recordings for the special condition. But I hope, that we could use "conditional expression" in .rxrex directly in der higher version of Ranorex
Best regards
thanks for your reply. I would create new recordings for the special condition. But I hope, that we could use "conditional expression" in .rxrex directly in der higher version of Ranorex
Best regards
- Tue Oct 15, 2013 11:28 am
- Forum: Automation Tools
- Topic: Definition by cases „If .. else” in recoding level (.rxrec)?
- Replies: 7
- Views: 3616
Re: Definition by cases „If .. else” in recoding level (.rxrec)?
Hi Boris, Thanks for your post. Our application logic is in database. All recordings contain several actions (average 30-40) They are "Mouse Click", "Mouse DoubleClick" and "Validate" and so on… I create alle recordings in a standard database. But if I run the test in other customized database, then...
- Mon Oct 14, 2013 7:12 pm
- Forum: Automation Tools
- Topic: Definition by cases „If .. else” in recoding level (.rxrec)?
- Replies: 7
- Views: 3616
Definition by cases „If .. else” in recoding level (.rxrec)?
Hello, Could I put if .. else or switch {case 1: case 2:… } in recoding file (*.rxrec)? For example: If ($MyParameter == 1) Then { Mouse.click(Button1); } Else { Validate(Attribute…); Mouse.DoubleClick(Button2); } It can only be implemented in UserCode, but not in recording, right? or any ideas? Man...
- Mon Oct 07, 2013 4:48 pm
- Forum: Automation API
- Topic: PopUpWatcher in Program.cs?
- Replies: 2
- Views: 2278
Re: PopUpWatcher in Program.cs?
Hello,
I am sorry that it was my mistake: I have put the PopUpWatcher on wrong position in Main().
The PopUpWatcher should be instantiated before this code line in Program.cs:
It works now fine. Many thanks!
Best Regards
I am sorry that it was my mistake: I have put the PopUpWatcher on wrong position in Main().
The PopUpWatcher should be instantiated before this code line in Program.cs:
Code: Select all
TestSuiteRunner.Run(typeof(Program), Environment.CommandLine);
Best Regards
- Mon Oct 07, 2013 9:46 am
- Forum: Automation Tools
- Topic: Jenkins Job Ranorex test - application window not to front
- Replies: 7
- Views: 2849
Re: Jenkins Job Ranorex test - application window not to front
Hello Bernhard,
Thanks for your post. I set the “Use Ensure Visible” on “True” then I have to put one command execution "ThreadSleep(5 Sec.)" between /tc:MyTest1 and /tc:MyTest2. It might be a workaround, I do not why but it works. Many thanks!
Best Regards
Thanks for your post. I set the “Use Ensure Visible” on “True” then I have to put one command execution "ThreadSleep(5 Sec.)" between /tc:MyTest1 and /tc:MyTest2. It might be a workaround, I do not why but it works. Many thanks!
Best Regards
- Fri Oct 04, 2013 4:41 pm
- Forum: Automation API
- Topic: PopUpWatcher in Program.cs?
- Replies: 2
- Views: 2278
PopUpWatcher in Program.cs?
Hello, How can I use a generic PopUpWatcher which should close Form1 (ButtonClick on "BtnOK"), if the Form1 occurs in any recording. So I have added the PopUpWatcher() in Program.cs class Program { [STAThread] public static int Main(string[] args) { ... PopupWatcher myPopupWatcher = new PopupWatcher...
- Tue Oct 01, 2013 9:04 am
- Forum: Automation Tools
- Topic: How to assign a global parameter of Test Suite?
- Replies: 4
- Views: 4231
Re: How to assign a global parameter of Test Suite?
Hey Markus, yes, It works very well. Thank you very much. Best Regards
- Thu Sep 26, 2013 10:44 am
- Forum: Automation Tools
- Topic: How to assign a global parameter of Test Suite?
- Replies: 4
- Views: 4231
Re: How to assign a global parameter of Test Suite?
Hello Markus, Thank you very much for your answer. That means, I have only to bind the global parameter and module variables: the assignment to global parameter in the setup test case and reading values from global parameter in other test cases and so on it happens automatically via binding. That wi...
- Thu Sep 26, 2013 9:54 am
- Forum: Automation Tools
- Topic: Jenkins Job Ranorex test - application window not to front
- Replies: 7
- Views: 2849
Re: Jenkins Job Ranorex test - application window not to front
Hello Bernhard, The post to the blog is only about the common login problem based on security settings in Jenkins. Now I can start test case in Jenkins, but the execution of several test cases sequentially in Jenkins Job was still failed, because in these test cases the application windows not focus...
- Wed Sep 25, 2013 10:21 am
- Forum: Automation Tools
- Topic: How to assign a global parameter of Test Suite?
- Replies: 4
- Views: 4231
How to assign a global parameter of Test Suite?
Hello,
I have defined 3 Global Parameters in Test Suite, which contains several Test Cases. And I wish assign some value to these parameter in User Code in one SetUp-Test Case, so that othere following Test Cases can read the value and use them. How?
Many Thanks
I have defined 3 Global Parameters in Test Suite, which contains several Test Cases. And I wish assign some value to these parameter in User Code in one SetUp-Test Case, so that othere following Test Cases can read the value and use them. How?
Many Thanks
- Mon Sep 23, 2013 12:36 pm
- Forum: Automation Tools
- Topic: Jenkins Job Ranorex test - application window not to front
- Replies: 7
- Views: 2849
Re: Jenkins Job Ranorex test - application window not to front
Hi Bernhard, i have checked the blog several times and could not find any points about that. Maybe it is based on Jenkins Job Engine. I also try to put use code to bring the application windows to front, but it does not work in Jenkins. Very strange, maybe I can not run more than one TC in one Job o...