Thank you Pavel. Unfortunately I'm not using Rx IDE and cannot provide "Ranorex snapshot".
Please correct me if I'm mistaken. Can I get a snapshot just with Spy?
Thanks,
Nik
Search found 42 matches
- Tue Jul 18, 2017 4:03 pm
- Forum: Object Identification and Technologies
- Topic: PxPath is different in different environments
- Replies: 5
- Views: 1729
- Mon Jul 17, 2017 9:13 pm
- Forum: Object Identification and Technologies
- Topic: PxPath is different in different environments
- Replies: 5
- Views: 1729
Re: PxPath is different in different environments
I noticed that your solution is working but slow. Below is HTML with first name input text box. <input title="" class="ms-crm-InlineInput" id="firstname_i" aria-labelledby="firstname_c firstname_w" style="-ms-ime-mode: active;" type="text" maxlength="100" attrName="firstname" attrPriv="7" controlmod...
- Mon Jul 17, 2017 8:05 pm
- Forum: Object Identification and Technologies
- Topic: PxPath is different in different environments
- Replies: 5
- Views: 1729
PxPath is different in different environments
Hello! I'm running automation in Test and UAT environments. I'm using Ranorex as a library for my NUnit C# test project. And I have the following accessor methods in one of my object repository: public WebElement FirstNameAfterClick => NewContactPage.FindSingle( ".//iframe[#'contentIFrame0']//input[...
- Fri Jun 09, 2017 8:43 pm
- Forum: Automation Tools
- Topic: Can I use regex in Variable value
- Replies: 1
- Views: 1917
Can I use regex in Variable value
Hello! Can someone help me to understand if I can use regular expression as value of Variable. Every time I run the test I need unique First and Last name. Now in Ranorex studio I can use "Variables" button to store all my global values that I want to have access from every module of my project. I c...
- Fri Jun 09, 2017 8:33 pm
- Forum: How To …
- Topic: How to clean user name field on login form?
- Replies: 4
- Views: 2682
Re: How to clean user name field on login form?
Thank you! Got that resolved
- Fri Jun 09, 2017 5:29 pm
- Forum: How To …
- Topic: How to clean user name field on login form?
- Replies: 4
- Views: 2682
Re: How to clean user name field on login form?
Also instead Step 3 I called a user code:
public void CleanUserName()
{
repo.LoginSalesforce.Username.Element.Actions.Clear();
}
It did not work either
public void CleanUserName()
{
repo.LoginSalesforce.Username.Element.Actions.Clear();
}
It did not work either
- Fri Jun 09, 2017 5:14 pm
- Forum: How To …
- Topic: How to clean user name field on login form?
- Replies: 4
- Views: 2682
How to clean user name field on login form?
I'm trying to use Ranorex IDE for the first time. My user name field when I'm trying to login has last login name. I want to clean this field and type in new user name. Using API I would do just PressKeys("{END}{SHIFT DOWN}{HOME}{SHIFT UP}{DELETE}") and type a new one. Any idea how do I insert the a...
- Thu May 18, 2017 8:32 pm
- Forum: Automation API
- Topic: WaitForDocumentLoaded function???
- Replies: 6
- Views: 3007
Re: WaitForDocumentLoaded function???
Thank you so much for all your help. I had to make a little changes. My Ranorex is 6.1: Host.Local.OpenBrowser("https://test.com/", "ie"); webDocument = Host.Local.FindSingle("/dom[@domain='test.com' and @State='complete']", Global.WaitTime); webDocument.WaitForDocumentLoaded(Global.WaitTime);
- Thu May 18, 2017 5:23 pm
- Forum: Automation API
- Topic: WaitForDocumentLoaded function???
- Replies: 6
- Views: 3007
Re: WaitForDocumentLoaded function???
Ned and Vaughan.Douglas thank you so much for answers. I'm not using Repo only API calls. So WaitFor is not available for me. I have to replace it with "TryFindSingle" routine. Just wonder if I can do the following int WaitTime = 60000; Host.Current.OpenBrowser("https://test.com", "ie"); WebDocument...
- Wed May 17, 2017 7:36 pm
- Forum: Automation API
- Topic: WaitForDocumentLoaded function???
- Replies: 6
- Views: 3007
WaitForDocumentLoaded function???
I'm trying to use WaitForDocumentLoaded(Duration) to make sure my page is totally loaded before I start doing any manipulations. Here is my simple code: public WebDocument webDocument; Global.WaitTime = 60000; System.Diagnostics.Process.Start("iexplore.exe", "https://test.com"); webDocument = "/dom[...
- Wed May 17, 2017 7:20 pm
- Forum: Automation API
- Topic: Wait until
- Replies: 6
- Views: 7298
Re: Wait until
"Wait For" is for Repo items. If you are not using repository and Ranorex IDE you need to use another functions for this. When I click on the button and expect some element to show up on another page. What about this: public void WaitForElementToBeDisplayed(RxPath rxPath, Duration timeInterval) { Du...
- Fri Feb 24, 2017 8:47 pm
- Forum: Automation API
- Topic: Using API for logging and reporting
- Replies: 1
- Views: 2415
Using API for logging and reporting
I've been experimenting with logging using just the Ranorex API. I am not using Ranorex Studio. My test cases built with NUnit framework. I need some help to incorporate into my test suite Ranorex report that I'm getting after executing record and playback tests fro Rx IDE. My test project contains ...
- Thu Dec 08, 2016 11:43 pm
- Forum: Automation API
- Topic: How to check if element IsClickable ?
- Replies: 1
- Views: 7264
How to check if element IsClickable ?
In my dynamic CRM environment element is not clickable until entire page is loaded. I was trying the following methods to check if page is loaded: webDocument.WaitForDocumentLoaded(Global.WaitTime); // did not work Validate.Exists(rxPath, wait1, "Load found", false) //did not quite work. Element is ...
- Fri Oct 14, 2016 10:47 pm
- Forum: Object Identification and Technologies
- Topic: Cannot access MS SilverLight controls in IE
- Replies: 5
- Views: 2203
Re: Cannot access MS SilverLight controls in IE
Yes It did. Ranorex needs to update their API docs. Record and Playback is not for everyone.
Thanks a lot for your help!!!
Thanks a lot for your help!!!
- Fri Oct 14, 2016 3:59 pm
- Forum: Object Identification and Technologies
- Topic: Cannot access MS SilverLight controls in IE
- Replies: 5
- Views: 2203
Re: Cannot access MS SilverLight controls in IE
Pavel, here is my information: 1. Ranorex version: 6.1 2. OS Win 7 Pro 3. IE v. 11 4. Ranorex Recorder and Play Back works fine Ranorex Snapshot file is attached. My Object Repository Class: public WebElement SearchBatton { get { return Host.Local.FindSingle("/dom[@caption='CreateInvoice']//div[#'si...