Search found 19 matches

by simmisj
Tue May 01, 2018 10:17 am
Forum: General Questions
Topic: UI tests fail when run from TeamCity
Replies: 7
Views: 2540

Re: UI tests fail when run from TeamCity

Absolutely right.
I managed to use tscon.exe to achive what I wanted.
Thanks.
by simmisj
Tue May 01, 2018 10:16 am
Forum: General Questions
Topic: Controlling which test cases/suit runs at startup
Replies: 3
Views: 1073

Re: Controlling which test cases/suit runs at startup

Thanks for the reply. Yes. The run configurations are a great way to do this. Thanks. The only problem is that the run configuration does not save which modules I have disabled. I have a few modules in the setup which are specific to some smart folders and I would have liked to be able to disable th...
by simmisj
Mon Apr 30, 2018 2:03 pm
Forum: General Questions
Topic: UI tests fail when run from TeamCity
Replies: 7
Views: 2540

Re: UI tests fail when run from TeamCity

Yeah. I do exactly like it says on that webpage. I run it in administrator mode and start it myself using "agent start" but still it has the screenshots blank. Also. When I am logged in myself and run the tests from TeamCity then it works pretty well. I simply keep the session open and do nothing. B...
by simmisj
Mon Apr 30, 2018 11:50 am
Forum: General Questions
Topic: UI tests fail when run from TeamCity
Replies: 7
Views: 2540

Re: UI tests fail when run from TeamCity

I have changed the service to use an elevated user account but it still just shows blank screenshots and fails with this error: "Failed to find item 'KeyingClientAutoTestsRepository.AuthenticationForm.Username'. No element found for path '/form[@controlname='AuthenticationForm']/container[@controlna...
by simmisj
Mon Apr 30, 2018 11:15 am
Forum: General Questions
Topic: UI tests fail when run from TeamCity
Replies: 7
Views: 2540

Re: UI tests fail when run from TeamCity

I have successfully manually started the .exe file and that works fine.
The screenshots are just blank so maybe the issue is with the agent being started as a service. I will change that and see if that fixes it.
by simmisj
Mon Apr 30, 2018 9:47 am
Forum: General Questions
Topic: UI tests fail when run from TeamCity
Replies: 7
Views: 2540

UI tests fail when run from TeamCity

Hi. I have some test cases that do not use any UI and then a few that do use UI. When I run the tests from the machine, either through ranorex studio or simply double clicking the .exe that is generated, then everything runs fine. Then when I use TeamCity to build the code from BitBucket, deploy it ...
by simmisj
Mon Apr 30, 2018 9:27 am
Forum: General Questions
Topic: Controlling which test cases/suit runs at startup
Replies: 3
Views: 1073

Controlling which test cases/suit runs at startup

Hi. I have a test suit with a bunch of smart folders that contain a bunch of test cases each. I use TeamCity to build and run the test cases on a seperate machine. I would like to know if there is an easy way to control which test cases run using something else than Ranorex studio and unchecking/che...
by simmisj
Mon Apr 16, 2018 9:56 am
Forum: General Questions
Topic: Ranorex automation helpers Generate pdf to a location
Replies: 3
Views: 1694

Re: Ranorex automation helpers Generate pdf to a location

But that will put all of the reporting files to that same folder. What I would like to be able to do is putting the PDF report into a specific folder and the rest of it to another. The reason is because the "business" people only need the pdf generated report while the other files are more interesti...
by simmisj
Mon Apr 16, 2018 9:53 am
Forum: General Questions
Topic: ReportToPDF is throwing object reference not set error
Replies: 2
Views: 1439

Re: ReportToPDF is throwing object reference not set error

Absolutely right.
The reason I was not running any test cases was so that I could explore the ReportToPDF without waiting for test cases to finish. Now I have just created an empty test case that I run and that fixes the issue.

Thanks.
by simmisj
Fri Apr 13, 2018 2:02 pm
Forum: General Questions
Topic: ReportToPDF is throwing object reference not set error
Replies: 2
Views: 1439

ReportToPDF is throwing object reference not set error

Hi. I working with generating pdf reports and it was working using the automation helpers but suddenly it writes a red line stating that an Object reference is not set. RanorexPdfGeneratorHanging.PNG It happens in line 121 in the default ReportToPDFModule.cs. This line: Ranorex.PDF.Creator.CreatePDF...
by simmisj
Fri Apr 13, 2018 12:49 pm
Forum: General Questions
Topic: Ranorex automation helpers Generate pdf to a location
Replies: 3
Views: 1694

Ranorex automation helpers Generate pdf to a location

Hi. I am generating pdf reports using the automation helpers and the module called ReportToPDFModule.cs. It generates the pdf file and puts it in the reports folder. I am wondering if I can specify the path to which it will write the report to? I want to write it to a different machine on my network...
by simmisj
Fri Mar 16, 2018 12:04 pm
Forum: General Questions
Topic: Merging two or more reports together after execution.
Replies: 2
Views: 1180

Merging two or more reports together after execution.

Hi.
If I run two test suits and get individual reports from them, is there an easy way to merge them into one report?
by simmisj
Wed Mar 07, 2018 12:59 pm
Forum: General Questions
Topic: User code within a recording module
Replies: 2
Views: 1731

Re: User code within a recording module

Okay. Part of the solution is to access the repository where the UI elements are located. That way I can get the text of the label where the value is displayed. Which I then compare to the value I am looking for. Now I am missing how to do a key combination. For example: "ctrl + p" within the code. ...
by simmisj
Wed Mar 07, 2018 12:47 pm
Forum: General Questions
Topic: User code within a recording module
Replies: 2
Views: 1731

User code within a recording module

Hi. I need to use user code in my recording module to find the correct document to work with. I have created a User Code Collection and a method inside that called FindDoc(). Since the GUI displays the documents in random order I need to be able to automatically find the correct document to work wit...