Search found 14 matches
- Tue Jan 27, 2015 8:21 pm
- Forum: General Questions
- Topic: Get all elements of a certain type
- Replies: 16
- Views: 10456
Re: Get all elements of a certain type
That makes sense thanks for your time and help with this.
- Tue Jan 27, 2015 8:07 pm
- Forum: General Questions
- Topic: Get all elements of a certain type
- Replies: 16
- Views: 10456
Re: Get all elements of a certain type
That did work thanks! It seems to be finding every element that is a button on everything not just the form I am searching on, is that how it should work? I would expect it to only find buttons on the element I am looking at not everything. I figured it out, I used ".//button" and that gave me every...
- Tue Jan 27, 2015 7:35 pm
- Forum: General Questions
- Topic: Get all elements of a certain type
- Replies: 16
- Views: 10456
Get all elements of a certain type
Is there a way to get all elements of a certain type. For example, if I get the main window, is there a way to say give me all the buttons on that form even the descendants and children ? In the example below, I want to find the element and then get a list of all the buttons child or descendant it h...
- Tue May 06, 2014 9:20 pm
- Forum: General Questions
- Topic: Screenshot() Name
- Replies: 3
- Views: 4936
Screenshot() Name
Is there a way to give the screenshot a custom name rather than it taking the log name and renaming it to log_file_1.jpg log_file_2.jpg
I know that screenshot has several overloads but I don't see any of them allowing a custom name for the screenshot.
I know that screenshot has several overloads but I don't see any of them allowing a custom name for the screenshot.
- Mon Mar 24, 2014 6:24 pm
- Forum: General Questions
- Topic: Close a child form from a parent
- Replies: 2
- Views: 1679
Re: Close a child form from a parent
Thanks, that did the trick! Defining the child as a form (Form child = father.Children[0]) is just what it needed.
I appreciate the quick response,
Jared
I appreciate the quick response,
Jared
- Mon Mar 24, 2014 5:40 pm
- Forum: General Questions
- Topic: Close a child form from a parent
- Replies: 2
- Views: 1679
Close a child form from a parent
Is it possible to close a child form from the parent object? For example, under the parent from there is a child form object. I want to call a .Close() on that child form but am not able to. The only way I have been able to close that form is to find it by itself and then i can call .Close() on it. ...
- Wed Jul 24, 2013 7:14 pm
- Forum: General Questions
- Topic: Validations not throwing a validation exception
- Replies: 3
- Views: 2348
Re: Validations not throwing a validation exception
My test suite is not an .exe, it is a ps1 powershell script. I am not sure what you mean, do you want me to create an .exe test suite and run it from cmd.exe?
All the other Ranorex functions I run work perfectly in powershell just not this validation.
All the other Ranorex functions I run work perfectly in powershell just not this validation.
- Thu Jul 18, 2013 4:54 pm
- Forum: General Questions
- Topic: Validations not throwing a validation exception
- Replies: 3
- Views: 2348
Validations not throwing a validation exception
The validation class is not throwing a validation exception when the validation fails. Example: This is an example when the validation is expected to succeed. This is working how I would expect it. PS C:\Users\jared> [Ranorex.Validate]::AreEqual(1,1) [2013/07/18 09:19:00.346][Success][Validation]: O...
- Fri Sep 11, 2009 11:30 pm
- Forum: General Questions
- Topic: Problems with x86 vs 64 bit
- Replies: 1
- Views: 2088
Problems with x86 vs 64 bit
Platform: Windows Server 2008 R2 Enterprise Ranorex Version: 2.1.3.6676 I am having problems running my x86 compiled code on my windows 64 bit box. The one particular form I am working with is x86 bit. I was reading the other posts in the forum about how the x86 spy and the 64 spy return different r...
- Fri Aug 07, 2009 10:46 pm
- Forum: General Questions
- Topic: Best way to find an element on a loading form?
- Replies: 3
- Views: 2791
Re: Best way to find an element on a loading form?
I tried doing this like what you mentioned but I cant seem to get it to work. I am using cmdlets to wrap around Ranorex. In my powershell script I call my cmdlets. I can get this to work if I use while loops. When its working i do something like this: Method 1 - Powershell script with while loop $ti...
- Thu Aug 06, 2009 8:17 pm
- Forum: General Questions
- Topic: Best way to find an element on a loading form?
- Replies: 3
- Views: 2791
Best way to find an element on a loading form?
Platform: Windows XP SP3 Ranorex Build: 2.1.0.6243 I am currently working on automating our Windows side installer. I am trying to figure out a good reliable way to find buttons and check boxes. Currently I get the form first, then I am using findSingle to find the adapters on the form. This sometim...
- Fri Jun 26, 2009 5:41 pm
- Forum: General Questions
- Topic: Creating Powershell Cmdlets
- Replies: 8
- Views: 4796
Creating Powershell Cmdlets
I am trying to create powershell cmdlets to use. Everything seems to work just find except for TDTags and Spantags. I took my C# code and put it into my cmdlet. I have tried with the full RxPath and with the relative path. When I run it in C# it works fine, however when I run it as a cmdlet, it can'...
- Thu Jun 11, 2009 8:56 pm
- Forum: General Questions
- Topic: InstallShield Windows
- Replies: 3
- Views: 2409
- Wed Jun 10, 2009 7:04 pm
- Forum: General Questions
- Topic: InstallShield Windows
- Replies: 3
- Views: 2409
InstallShield Windows
I am trying to uninstall a program from add/remove programs. I am having trouble because when I click the remove button a installshield window pops up briefly and then asks if I want to continue. I am trying to get the yes button pressed, but I cant seem to find the form the button is on. When I do ...