The first step in the script is "Run Application" running the installer, but Ranorex seems to stop there rather than clicking through the various dialogs. Is there another function I should use for kicking off an installer?
The goal is to grab latest build, install, configure, then launch validation. But I can't get it to get through the install as it stops at "Running Application"
Using Ranorex to test install of AUT
-
- Posts: 102
- Joined: Fri Nov 08, 2019 3:23 pm
Using Ranorex to test install of AUT
- Attachments
-
- ranorexRun.png (6.57 KiB) Viewed 367 times
Re: Using Ranorex to test install of AUT
Hi,
Have you tried to run the installer manually? Does it work? Also, make sure there is filled “Working directory” parameter. Empty “working directory“, is the most common cause of many “Run application” problems.
Have you tried to run the installer manually? Does it work? Also, make sure there is filled “Working directory” parameter. Empty “working directory“, is the most common cause of many “Run application” problems.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
-
- Posts: 102
- Joined: Fri Nov 08, 2019 3:23 pm
Re: Using Ranorex to test install of AUT
Yes, the installer works fine. Here is the working directory.
I will try a clean recording since the repo wants to create multiple instances of the installer.
I will try a clean recording since the repo wants to create multiple instances of the installer.
Re: Using Ranorex to test install of AUT
Hi,
Wait a minute! I don't think that Run Application supports wildcards (*)! You must use exact exe name, either hardcoded or passed via variable.
Wait a minute! I don't think that Run Application supports wildcards (*)! You must use exact exe name, either hardcoded or passed via variable.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
-
- Posts: 102
- Joined: Fri Nov 08, 2019 3:23 pm
Re: Using Ranorex to test install of AUT
It totally works now. The only issue is the warning about a button associated with a confirmation dialog about a wait (posted in that thread).
I was able to create a clean recording, then do a little clean up in the repo with naming and now it's golden. Thanks.
I am using a wildcard because the installer is the build number that has a time stamp (P38_Master_x64_1.2.20191121.01 in this case). I was having a tough time parsing the timestamp, so I used the wildcard. It seems to be working.
I was able to create a clean recording, then do a little clean up in the repo with naming and now it's golden. Thanks.
I am using a wildcard because the installer is the build number that has a time stamp (P38_Master_x64_1.2.20191121.01 in this case). I was having a tough time parsing the timestamp, so I used the wildcard. It seems to be working.