Search found 15 matches

by elis
Wed Feb 26, 2014 12:03 pm
Forum: General Questions
Topic: Ranorex License - Command options
Replies: 2
Views: 1421

Ranorex License - Command options

Hi,

Is there a way to release Ranorex floating license using CLI command ?
I am trying to automatically release the license when the test finishes running. (as part of Continuous Integration process)


Thanks,
Eli
by elis
Sun Dec 15, 2013 2:40 pm
Forum: General Questions
Topic: Test suite level Popup Watcher
Replies: 1
Views: 1884

Test suite level Popup Watcher

Hi all, Is there a way to watch for popups in Test suite level? I tried to start a new thread to handle popup windows during the test but it didn't work. Can someone tell me what is the problem in the following code? :lol: void ITestModule.Run() { Mouse.DefaultMoveTime = 300; Keyboard.DefaultKeyPres...
by elis
Wed Dec 11, 2013 4:32 pm
Forum: General Questions
Topic: Popup Watcher problem
Replies: 4
Views: 2175

Re: Popup Watcher problem

Thank you so much! :)))
by elis
Wed Dec 11, 2013 3:33 pm
Forum: General Questions
Topic: Popup Watcher problem
Replies: 4
Views: 2175

Re: Popup Watcher problem

I tried it but still got nothing. the function never invokes (even if I'm just trying to click a button).
I am using Ranorex 4.1.2, does anyone tried to use the Popup Watcher successfully?
by elis
Wed Dec 11, 2013 1:23 pm
Forum: General Questions
Topic: Popup Watcher problem
Replies: 4
Views: 2175

Popup Watcher problem

Hi, I just configured a popup watcher for my action and it doesn't work. Can you please have a look on the code below and tell me what is wrong in my config? The popup watcher is configured as "user code" ( ClosePopupWindows() ). public void ClosePopupWindows() { PopupWatcher myPopupWatcher = new Po...
by elis
Fri Nov 29, 2013 6:07 pm
Forum: General Questions
Topic: Search Timeout Exception handling
Replies: 3
Views: 1706

Re: Search Timeout Exception handling

Hi Markus, I just want to change this behavior for all test cases since I don't want my test case to show error message if search timeout occurs. I know that it is possible to change it per action/test module, but I have many actions and will have more :) Is there a way to catch all action exception...
by elis
Thu Nov 28, 2013 2:21 pm
Forum: General Questions
Topic: Search Timeout Exception handling
Replies: 3
Views: 1706

Search Timeout Exception handling

Hi,

How can I catch all test case exceptions for "Search Timeout" and handle them in one place before "Report" class catches it?

I just want the report to write "info" event instead of "failure" when "Search timeout" occurs for any item.

Thank you!
--Eli
by elis
Fri Nov 22, 2013 11:06 am
Forum: General Questions
Topic: Ranorex Developer guide
Replies: 1
Views: 1562

Ranorex Developer guide

Hi,

Is there a developer guide for Ranorex framework? (Except the API)
A guide that explains Ranorex classes hierarchy and modules.


Thanks,
Eli
by elis
Wed Nov 20, 2013 10:28 pm
Forum: General Questions
Topic: Repository item existence check in run time
Replies: 4
Views: 2339

Re: Repository item existence check in run time

Cool :)

Thank you!
by elis
Wed Nov 20, 2013 9:54 pm
Forum: General Questions
Topic: Repository item existence check in run time
Replies: 4
Views: 2339

Re: Repository item existence check in run time

Thanks! I tried it but when the item does not exist the module is stuck. Here is the code: var repo = TestRepository.Instance; var microTorrent331 = repo.MicroTorrent331; if(microTorrent331.SelfInfo.Exists()) { Report.Info(microTorrent331.SelfInfo.Exists().ToString()); } When "microTorrent331.SelfIn...
by elis
Wed Nov 20, 2013 7:11 pm
Forum: General Questions
Topic: Repository item existence check in run time
Replies: 4
Views: 2339

Repository item existence check in run time

Hi all, I am trying to check (in code level) if a form (from the repository) exists. I tried to use : Validate.Exists(Xpath to form) Since this function is void, I tried to catch the ValidationException but it's half solution since the Report shows a failure if this kind of exception is thrown. I am...
by elis
Tue Nov 19, 2013 9:17 am
Forum: General Questions
Topic: Ending Test Case Modules
Replies: 4
Views: 2142

Re: Ending Test Case Modules

Thank you!
Throwing an exception solved the problem.
BTW - regarding the second option, could you please elaborate?

Regards,
--Eli
by elis
Mon Nov 18, 2013 2:07 pm
Forum: General Questions
Topic: Ending Test Case Modules
Replies: 4
Views: 2142

Ending Test Case Modules

Hi, I am trying to avoid some modules to run under a test case if the first module failed to run (in my case the application didn't start correctly). I am using the following code: Report.Failure(ReportLevel.Failure.ToString(), String.Format("Failed to run application: {0}", appPath)); TestReport.En...
by elis
Mon Nov 18, 2013 6:52 am
Forum: Object Identification and Technologies
Topic: Ranorex OS Compatibility (Explorer)
Replies: 1
Views: 1855

Ranorex OS Compatibility (Explorer)

Hi,

Does Ranorex supports OS compatibility? for example an action that was recorded on Win7 and use Win7 Explorer fails to run on WinXP since it has a different Explorer Window.

Thanks,
Eli
by elis
Sun Nov 10, 2013 10:32 am
Forum: General Questions
Topic: Error msg while running same action twice
Replies: 2
Views: 2168

Error msg while running same action twice

Hi All, I am running an action (7zip program) and al the actions are successful. When running the same action twice I got the following error: "Item '_7_ZipRepository.FormC.Text1003' could be found using its absolute path, but not using its relative path from the cached element of parent folder '_7_...