Search found 12 matches

by nkarora
Wed Feb 22, 2017 12:07 am
Forum: Automation Tools
Topic: Data Binding for instance of the class
Replies: 1
Views: 2038

Data Binding for instance of the class

Hi I have a problem with Data binding for instance of the class. Ranorex not giving option for data binding if instance of class used in the module. Scenario: I have different function and combination of data. In First Module, based on the number of rows on a screen, I calculated and run the loop an...
by nkarora
Mon Feb 13, 2017 5:32 am
Forum: Automation Tools
Topic: Trouble Extracting Attribute value of Dynamic Capability
Replies: 4
Views: 3296

Re: Trouble Extracting Attribute value of Dynamic Capability

I am not sure that this is right solution or not but found the way to store the value in variable. Here is code. string Elementpath= Repo.Sitetrak.JobDetailsForm.Jobs.LaneIdInfo.AbsolutePath.ToString(); Element elementforvalue= Ranorex.Core.Element.FromPath(Elementpath); string storevariable= elemen...
by nkarora
Sun Feb 12, 2017 10:40 pm
Forum: Automation Tools
Topic: Trouble Extracting Attribute value of Dynamic Capability
Replies: 4
Views: 3296

Re: Trouble Extracting Attribute value of Dynamic Capability

Hi, I actually tried below coding mechanism before asking this question. I am getting error for the below option and thought that this option is not valid for this type of property. Attaching screen for code and the error I am getting : ERROR: The type arguments for method 'Ranorex.Adapter.GetAttrib...
by nkarora
Fri Feb 10, 2017 1:31 am
Forum: Automation Tools
Topic: Trouble Extracting Attribute value of Dynamic Capability
Replies: 4
Views: 3296

Trouble Extracting Attribute value of Dynamic Capability

Hi all, I am not expert in Ranorex. Just like to know how I can extract the attribute value of Dynamic capability into a variable. I can validate value using validate method but I can't store the value in a variable. Can you please suggest example of my code: Validate.Attribute(Repo.Sitetrak.JobDeta...
by nkarora
Tue Feb 07, 2017 2:51 am
Forum: Automation Tools
Topic: Looping module in a Test Case
Replies: 8
Views: 4787

Re: Looping module in a Test Case

Thanks for the response but due to limitation of ranorex I can't use 2 source data for a test case therefore I am trying to use workaround by creating sub-test case. In my test case I have to use 'Network' (as Data Source 1). Depend of Data Value from the source 1, I have to use the location(s) to s...
by nkarora
Wed Feb 01, 2017 4:31 am
Forum: Automation Tools
Topic: Looping module in a Test Case
Replies: 8
Views: 4787

Looping module in a Test Case

Hi,
Can you guide me How to loop Module in a Test Case.
I have created small modules in a test case but I want to repeat a single module again but the issue is the data-source, it only uses first column. I want to use different Column for next Iteration.
by nkarora
Fri Dec 16, 2016 5:51 am
Forum: Object Identification and Technologies
Topic: Problem while accessing the second row in datagrid.
Replies: 4
Views: 1838

Re: Problem while accessing the second row in datagrid.

Hi, I have similar problem but able to see record if underlying tag is not used. Here is the part of Code having problem. IList<TableTag> actdir1Tables=Repo.Sitetrak.P2P_SelectSitesForm.P2pPreview.Direction1TR.NetworkTableDirection1.TableRow.FindDescendants<TableTag>(); Int32 tblCntAct = actdir1Tabl...
by nkarora
Wed Dec 07, 2016 10:02 pm
Forum: Automation Tools
Topic: Selecting dynamic innertext
Replies: 11
Views: 3556

Re: Selecting dynamic innertext

Thanks for support. It appear to me that you don't have any answer for my problem.
by nkarora
Tue Dec 06, 2016 10:08 pm
Forum: Automation Tools
Topic: Selecting dynamic innertext
Replies: 11
Views: 3556

Re: Selecting dynamic innertext

"/dom[@domain='vtcsdc2uatst01.victcs.ap.serco.com']//ul[#'info']/li"
The element suggested above only works when there is only One li tag under UI 'info' tag but there are more than one li tag depend on the action in the application.

I can send you the snapshot with multi tag if required.
by nkarora
Mon Dec 05, 2016 11:19 pm
Forum: Automation Tools
Topic: Selecting dynamic innertext
Replies: 11
Views: 3556

Re: Selecting dynamic innertext

Hi,
Please find attached snapshot of the application as requested.

Thanks
Nav
by nkarora
Mon Dec 05, 2016 10:21 pm
Forum: Automation Tools
Topic: Selecting dynamic innertext
Replies: 11
Views: 3556

Re: Selecting dynamic innertext

Hi, Just want to clarify the issue. Following is the Ranorex spy view. DOM 'Application' + Head - Body - Div 'New container' - Div 'Column right' - UI 'info' - Li 'Message [no]' I need to validate the message displayed therefore required to capture the value. The Element don't any unique tag, Inner ...
by nkarora
Mon Dec 05, 2016 1:08 am
Forum: Automation Tools
Topic: Selecting dynamic innertext
Replies: 11
Views: 3556

Re: Selecting dynamic innertext

I have similar issue. Dynamic innertext tag only and no other tag is recognized therefore cannot get the value.
I need message which is displayed dynamically and store in Parent UItag and Child Li tag has dynamic inner text value which i need to validate.
Can you suggest

Regards
Nav