Search found 26 matches

by spektr
Thu Jun 02, 2022 2:53 pm
Forum: How To …
Topic: Setup/Teardown per test case
Replies: 13
Views: 4769

Re: Setup/Teardown per test case

Solution is to set a run configuration with the same steps, then teardown si triggered.
by spektr
Thu Jun 02, 2022 11:36 am
Forum: How To …
Topic: Setup/Teardown per test case
Replies: 13
Views: 4769

Re: Setup/Teardown per test case

I have one more question, regarding my situation. If I run my testcase through commandline, sending of email doesn't get triggered and i can't figure it out why. If I ran the test through ranorex, everything is fine. For the main testsuite, works within command line. But for newly added testsuite, i...
by spektr
Fri May 27, 2022 1:30 pm
Forum: How To …
Topic: Setup/Teardown per test case
Replies: 13
Views: 4769

Re: Setup/Teardown per test case

Odklizec, one more question If I may? Is there a way to use a validation like IF-ELSE option? Many times I am using validation to check wheter some item is present or not. Usually i do this no the start, but I don't have any options like IF-THEN to continue or to skip some test case if validation fa...
by spektr
Fri May 27, 2022 10:18 am
Forum: How To …
Topic: Setup/Teardown per test case
Replies: 13
Views: 4769

Re: Setup/Teardown per test case

Yes, maybe i will include run configuration again. I mean, so far i was using run configurations. But the test scenario became complex, so i open up a separate test suite, whereas I compose this complex test scenarion within test case. I had an idea, to compose a test scenario in test case, so I wou...
by spektr
Fri May 27, 2022 9:41 am
Forum: How To …
Topic: Setup/Teardown per test case
Replies: 13
Views: 4769

Re: Setup/Teardown per test case

hi :) That was my previous solution, but i wanted to have this teardown section at one place.So now, If i run only the first test case it looks like the teardown is triggered since the browser gets closed at the end of test. So I assume that would be the case for the rest test cases too... It looks ...
by spektr
Fri May 27, 2022 9:14 am
Forum: How To …
Topic: Setup/Teardown per test case
Replies: 13
Views: 4769

Re: Setup/Teardown per test case

Hi, I will borrow this topic if I may :)

In my cas (picture) why teardown section is only triggered once - for the first test case. Why it doesn't trigger at the end of any of 4 test cases? Am I missing something?

Thanks
2022-05-27 10_12_59-nikolaj - Remote Desktop Connection.png
by spektr
Mon Oct 26, 2020 1:01 pm
Forum: General Questions
Topic: Chrome headless
Replies: 35
Views: 3925

Re: Chrome headless

Yes, i was thinking about Jenkins too, this could be one option though. Thanks man, thanks for your help and time ! :D
by spektr
Mon Oct 26, 2020 12:57 pm
Forum: General Questions
Topic: Chrome headless
Replies: 35
Views: 3925

Re: Chrome headless

I see, i m trying to add a line where this could be called in set up region - to disconnect RDP when test is started. But, there is a trick i guess :)
by spektr
Mon Oct 26, 2020 12:30 pm
Forum: General Questions
Topic: Chrome headless
Replies: 35
Views: 3925

Re: Chrome headless

So in the end it is the same if I minimize rd or disconnect it?
by spektr
Mon Oct 26, 2020 12:19 pm
Forum: General Questions
Topic: Chrome headless
Replies: 35
Views: 3925

Re: Chrome headless

About headles...i went for this kind of test, because a normal GUI testing on my RDP isn't working, and i can't figure it why..I made some tweaks, but as soon as i minimize RDP windows, the test fails.
by spektr
Mon Oct 26, 2020 12:07 pm
Forum: General Questions
Topic: Chrome headless
Replies: 35
Views: 3925

Re: Chrome headless

Yes, this is my xpath now
2020-10-26 12_06_25-nikolaj - Remote Desktop Connection.png
by spektr
Mon Oct 26, 2020 11:45 am
Forum: General Questions
Topic: Chrome headless
Replies: 35
Views: 3925

Re: Chrome headless

This is my json:
{
"browserName": "chrome",
"chromeOptions": {
"args" : ["headless", "window-size=1920,1080", "start-maximized"]
}
}

I am thinking if this could be the cause, ..
by spektr
Mon Oct 26, 2020 11:40 am
Forum: General Questions
Topic: Chrome headless
Replies: 35
Views: 3925

Re: Chrome headless

Now it's find yes, i had to change the parent item xpath to .//.


I get this error now:
(Optional Action) Failed to find item 'ModuleLibraryRepository.KADRIS403ZaposlovanjeOdpoved.ADHOCDESIGNERTABLE.FaFaAngleDoubleRightFaLg'. Please check that your whitelist allows Ranorex to access the process.
by spektr
Mon Oct 26, 2020 11:03 am
Forum: General Questions
Topic: Chrome headless
Replies: 35
Views: 3925

Re: Chrome headless

Hm, If I put in this patch for this particular element, rx doesn't find anything.
by spektr
Mon Oct 26, 2020 10:54 am
Forum: General Questions
Topic: Chrome headless
Replies: 35
Views: 3925

Re: Chrome headless

Of course, I am on that already..But...where did you get those classes for instance, class 'fa'? Rx don't offer me such option, i get class 'fa fa-angle-double-right fa-lg' for instance.