Search found 7 matches

by ChrisDavid
Sat Dec 27, 2014 2:58 am
Forum: Object Identification and Technologies
Topic: Ranorex get struck on attempting to click a button in msgbox
Replies: 8
Views: 3240

Re: Ranorex get struck on attempting to click a button in msgbox

On performing few more trial and error on this I found out that it does not have anything to do with the item in the repository but just the appearance of this particular dialog box is making Ranorex to pause indefinitely. In the code I removed all the lines that access this dialog and added a step ...
by ChrisDavid
Wed Dec 24, 2014 3:02 pm
Forum: Object Identification and Technologies
Topic: Ranorex get struck on attempting to click a button in msgbox
Replies: 8
Views: 3240

Re: Ranorex get struck on attempting to click a button in msgbox

Hi Markus, Thanks for your response. 'Use Cache' property of the repository folder is set to False already. The issue is inconsistent and we can not determine where it will fail. Sometimes it gets struck in 'If Statement', sometimes at Movteto() step, sometimes in click() step. You first suggestion ...
by ChrisDavid
Tue Dec 23, 2014 1:34 pm
Forum: Object Identification and Technologies
Topic: Ranorex get struck on attempting to click a button in msgbox
Replies: 8
Views: 3240

Ranorex get struck on attempting to click a button in msgbox

public void Handle_messagebox() { if(repo.Folder1.Button1Info.Exists()) { Report.Info("Found message box. Clicking on Ok button."); repo.Folder1.Button1.MoveTo(); repo.Folder1.Button1.Click(); } else { Report.Info("Did not find Message box."); } } I have above simple code but while executing it, Ra...
by ChrisDavid
Wed Aug 20, 2014 2:01 pm
Forum: General Questions
Topic: How to skip the Set Up if previous test case is pass?
Replies: 2
Views: 2317

Re: How to skip the Set Up if previous test case is pass?

Can someone please say if this is possible with ranorex? This can be helpful for many.
by ChrisDavid
Tue Aug 19, 2014 2:00 pm
Forum: General Questions
Topic: How to skip the Set Up if previous test case is pass?
Replies: 2
Views: 2317

How to skip the Set Up if previous test case is pass?

Hi, We are looking to reduce the time taken for each run. We have suites which has about some 80+ test cases and runs for almost 6+ hrs. In which set up and tear down in each test case runs for some 3 mins. so we are looking to cut down some 2 hrs by skipping the set up process if the previous test ...
by ChrisDavid
Thu Feb 20, 2014 3:28 pm
Forum: Automation Discussions
Topic: How to set the string value to RepoItemInfo object?
Replies: 3
Views: 5970

Re: How to set the string value to RepoItemInfo object?

Hi Swisside,

I want to perform this. RepoItemInfo item = RootItem.Folder1.Item1Info;

But "RootItem.Folder1.Item1Info" will be passed as string. I want to convert that string to RepoItemInfo.

Thanks,
Chris
by ChrisDavid
Wed Feb 19, 2014 3:50 pm
Forum: Automation Discussions
Topic: How to set the string value to RepoItemInfo object?
Replies: 3
Views: 5970

How to set the string value to RepoItemInfo object?

I want to write a user code method which takes a string value as argument and stores it into RepoItemInfo object and then gets the absolutepath of the appropriate repository item. But I couldnt convert the string to RepoItemInfo object directly. It throws the below error. Cannot implicitly convert t...