Search found 19 matches

by semate
Fri Feb 07, 2020 11:12 am
Forum: General Questions
Topic: POSTMAN integration
Replies: 5
Views: 2101

Re: POSTMAN integration

Use Project -> Manage Packages ... . Search for RestSharp RestSharp should show up in your References. And then it depends on your Rest call. Below a example for Post with Basic Authentication. Add error handling as you like. See the RestSharp page for more infos. using RestSharp; using RestSharp.Au...
by semate
Thu Feb 06, 2020 2:30 pm
Forum: Bug Reports
Topic: pdf Report Creator seem to crash if testsuite only has a setup and no testcases/smartfolders
Replies: 1
Views: 1435

pdf Report Creator seem to crash if testsuite only has a setup and no testcases/smartfolders

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object. at PdfSharp.Charting.Renderers.PieChartRenderer.InitSeries(ChartRendererInfo rendererInfo) at PdfSharp.Charting.Renderers.PieChartRenderer.Init() at PdfSharp.Charting.ChartFrame.DrawChart(XGraph...
by semate
Thu Feb 06, 2020 2:16 pm
Forum: General Questions
Topic: Mark Test as Error from End Activity Event Code
Replies: 1
Views: 998

Mark Test as Error from End Activity Event Code

Hi everybody! The developer made a label appear if an unknow error gets caught. I need to check for this label best after every action and then copy the log of the Windows Application and other stuff. So I decided to go with the Event Handler for End Activity. Works well except the fact, that I can'...
by semate
Mon Aug 19, 2019 2:40 pm
Forum: General Questions
Topic: Object Identification issue in Ranorex upgrade 8.3 to 9.1 version
Replies: 1
Views: 2060

Re: Object Identification issue in Ranorex upgrade 8.3 to 9.1 version

Hi! Maybe the reason for this different behavior is on the OS side (Windows Update?). You could try setting the level in the User Access control all the way down I experience similar restrictions when I was trying to automate the Install Process. Ended up starting Ranorex via the TaskScheduler with ...
by semate
Tue Aug 06, 2019 4:37 pm
Forum: General Questions
Topic: How to automate Install/Uninstall Software in Windows
Replies: 2
Views: 1818

Re: How to automate Install/Uninstall Software in Windows

With the help of my IT guy I found a way around it: 1. Create a new Task in the Windows Task Scheduler (e.g. My_Auto_Install) 2. Check "Run with the highest Privileges" (!) 3. In Actions select your installer exe (or bat file) 4. Execute the Task in Ranorex with Run Application: PowerShell.exe -Comm...
by semate
Tue Aug 06, 2019 8:20 am
Forum: General Questions
Topic: How to automate Install/Uninstall Software in Windows
Replies: 2
Views: 1818

How to automate Install/Uninstall Software in Windows

Hi! When installing or deinstalling my software under test in windows 10 a safety dialog pops up where I have to manually confirm. Rest of the desktop is disabled at that point. How to automate this with Ranorex? Is that even possible? I would prefer a Ranorex solution over forcing some system setti...
by semate
Mon May 20, 2019 2:37 pm
Forum: General Questions
Topic: Configuring proxy at client level
Replies: 4
Views: 2141

Re: Configuring proxy at client level

Thanks for that hint, umpani!

I had a similar proxy problem when integrating TestRail.
ErrorProxyTestRail.png
After nagging the IT department for quite some time about the proxy problem they found your link!
And, with a restart of Ranorex, it worked!
by semate
Tue Mar 12, 2019 10:03 am
Forum: General Questions
Topic: Error with a definition for 'IsEmpty'
Replies: 4
Views: 2011

Re: Error with a definition for 'IsEmpty'

Hi!

Same issue here with Ranorex 9.0 the IsEmpty() does not work!
Happens on strings and on an array. I just replaced .IsEmpty() with .Length==0.
For the strings I used the static string.IsNullOrEmpty(mystring) method.
Still wondering why that was dropped ?!
by semate
Mon Mar 04, 2019 5:57 pm
Forum: Automation Tools
Topic: Clipboard.GetText() not working with Agent?
Replies: 3
Views: 1941

Clipboard.GetText() not working with Agent?

Hi there! Is it me or is Clipboard.GetText() not working when the test application is executed remotely via Agent. Works locally. Some more details: To get Putty output I use the Copy All To Clipboard Menu function. If I try to access it later with Clipboard.GetText() it comes up with an Error Messa...
by semate
Wed Feb 13, 2019 4:23 pm
Forum: Automation Tools
Topic: Get RxPath during Test Runtime
Replies: 1
Views: 1142

Get RxPath during Test Runtime

Hi there!

Is it possible to find out the RxPath of an object by clicking on it (or hovering) during runtime(!) of the test?
Basically using the Spy functionallity while the test is executing.
by semate
Fri Dec 14, 2018 3:40 pm
Forum: Automation Tools
Topic: Order of Modules in TestSuite
Replies: 1
Views: 1296

Re: Order of Modules in TestSuite

Hi, as you already suggested, you could put them in a Smart Folder and use if conditions. Then you could set a dynamically created Data-Connector for that smart folder with 4 rows and randomly spread the numbers 1-4 from outside that smartfolder. The dynamically created (or loaded) connector is desc...
by semate
Thu Dec 13, 2018 5:08 pm
Forum: Automation Discussions
Topic: How to make our own queries with variables retrieved from Excell
Replies: 1
Views: 2001

Re: How to make our own queries with variables retrieved from Excell

Hi! are you sure your DataConnector is named "PostgreSQL"? For the example below ... DataConnector.PNG ... you would have to use "DYN_TestEnv" as Name like: DataCache dc = DataSources.Get("DYN_TestEnv"); BTW, you may want to consider to use the code block (button </> ) when posting code. Makes it ea...
by semate
Thu Dec 13, 2018 10:14 am
Forum: Automation Discussions
Topic: Free C# OCR library
Replies: 3
Views: 5245

Re: Free C# OCR library

It messed up the pictures in my earlier post.

Libs picture should be:
TesseractLibs.PNG
by semate
Thu Dec 13, 2018 10:12 am
Forum: Automation Discussions
Topic: Free C# OCR library
Replies: 3
Views: 5245

Re: Free C# OCR library

Hi! I have the Tesseract OCR Library running with Ranorex. I ended up using the Package below: Tesseract2.PNG Make sure to have the libs in the Ranorex Project. TesseractLibs.PNG My code looks like that: //--------------------------------------------------------------------- /// <summary> /// Read g...
by semate
Wed Dec 12, 2018 11:37 am
Forum: Automation Tools
Topic: Jenkins Pipeline Teststatus Return
Replies: 1
Views: 1786

Jenkins Pipeline Teststatus Return

Hi everyone! I'm using a Jenkins pipeline to run my Ranorex test. I would like Jenkins to display the Ranorex test result in the following colors: Green - all tests passed Yellow - one or more warnings occured Red - one or more tests failed Green and Red I figured out with the script below. I was ho...