Search found 30 matches

by riccardo
Mon Oct 03, 2011 5:07 pm
Forum: General Questions
Topic: Iterating through Tree and open subtrees dynamically
Replies: 7
Views: 4156

Re: Iterating through Tree and open subtrees dynamically

In this case we used Infragistics. By the way you are right, if I manually open all subitems, then the code works fine and goes through all the items.

I do not know how InovkeRemotely works. Is there any description about that?

Regards
Riccardo
by riccardo
Mon Oct 03, 2011 4:27 pm
Forum: General Questions
Topic: Iterating through Tree and open subtrees dynamically
Replies: 7
Views: 4156

Re: Iterating through Tree and open subtrees dynamically

I tried to do so, but even here I do have the problem that obviusly the childerns do not exist. The first two items get opened without any problems but then it stucks...
by riccardo
Mon Oct 03, 2011 4:11 pm
Forum: General Questions
Topic: Iterating through Tree and open subtrees dynamically
Replies: 7
Views: 4156

Re: Iterating through Tree and open subtrees dynamically

That would mean I need two routines, one which opens all the items, the second one which does the iteration, right?
by riccardo
Mon Oct 03, 2011 2:02 pm
Forum: General Questions
Topic: Iterating through Tree and open subtrees dynamically
Replies: 7
Views: 4156

Iterating through Tree and open subtrees dynamically

I followed the instruction to iterate through a tree and click on each element in the tree. This does work fine if all TreeItems (and Sub Items) are expanded. As soon as I need to expand a TreeItem the items below won't be handled. This is how what I have coded so far: public void ExtractTree() { //...
by riccardo
Mon May 16, 2011 9:21 am
Forum: General Questions
Topic: Ranorex to fast for the application
Replies: 2
Views: 1803

Re: Ranorex to fast for the application

Works like a charm :D

Thank you
by riccardo
Fri May 13, 2011 4:39 pm
Forum: General Questions
Topic: Ranorex to fast for the application
Replies: 2
Views: 1803

Ranorex to fast for the application

I would like to run my tests using the Turbo Mode but on some parts of the application there will be calculations done when selecting an ListItem from a Combo Box. Now the next step would be a click on a button which is already there before, visible and also enabled. Now while the calculation will b...
by riccardo
Fri May 13, 2011 4:35 pm
Forum: General Questions
Topic: Write values of each iteration to file
Replies: 2
Views: 1698

Re: Write values of each iteration to file

Thanks for your answer

I solved it by creating a document for each iteration...


Regards
Riccardo
by riccardo
Tue May 10, 2011 11:23 am
Forum: General Questions
Topic: Write values of each iteration to file
Replies: 2
Views: 1698

Write values of each iteration to file

I do have an iteration running, which generates a specific ID at the end of the testcase. Now I would like to write these ID's to a file as they will be used for further testcases. I thought that would be easy possible using a StreamWriter and write them to a file. Opening the File is not a big Deal...
by riccardo
Fri Apr 29, 2011 3:23 pm
Forum: General Questions
Topic: Ignore Steps
Replies: 10
Views: 2347

Re: Ignore Steps

Okay I solved it by keeping the recording, but calling one single user code

In this user code I do call the other steps and handle it with an if statement... not the way I wanted it to have, but the way it works :mrgreen:
by riccardo
Fri Apr 29, 2011 7:43 am
Forum: General Questions
Topic: Ignore Steps
Replies: 10
Views: 2347

Re: Ignore Steps

Okay I see what you mean So but do you know the command which just stops the actual testcase? I do have only some steps as usercode, the rest is in the recording itself. I would need to change the testcase so everything is in user code, then this would be quite easy to handle... But if I could force...
by riccardo
Thu Apr 28, 2011 7:23 pm
Forum: General Questions
Topic: Ignore Steps
Replies: 10
Views: 2347

Re: Ignore Steps

Okay got that

What I am looking for is exactely the thing you called "Do A" or "Do B"
How do I force a test to be finished, like kind of a Testcase.finish ?
by riccardo
Thu Apr 28, 2011 5:25 pm
Forum: General Questions
Topic: Ignore Steps
Replies: 10
Views: 2347

Re: Ignore Steps

I have a usermethod called validatePersonError which I do call when the iteration is on that step Variables: checkpoint (contains the location where the error get's thrown, e.g "Person", "Services") s_errormessage (contains the expected errormessage) public void validatePersonError() { if (checkpoin...
by riccardo
Thu Apr 28, 2011 5:08 pm
Forum: General Questions
Topic: Ignore Steps
Replies: 10
Views: 2347

Re: Ignore Steps

I do have user code implemented, but no clue how to ignore the next steps

would a Report.Successful do that?
by riccardo
Thu Apr 28, 2011 4:53 pm
Forum: General Questions
Topic: Ignore Steps
Replies: 10
Views: 2347

Ignore Steps

I have an Iteration which checks for Values (Error Messages) on a popup window Now the error messages will be thrown all on the same step (site) in the workflow, except in one single case it will be thrown on another (earlier) step. I would like to avoid writing a recording for this single problem, ...
by riccardo
Wed Apr 27, 2011 10:09 am
Forum: Bug Reports
Topic: Receiving an unhandled Exception (Migration 2.3 to 3.0)
Replies: 3
Views: 2173

Re: Receiving an unhandled Exception (Migration 2.3 to 3.0)

Yes I do start it as administrator. Funny is, if I start the Test within the Testsuite, it works fine. If I start the test itself, it fails...

Where can I upload the project?