Search found 35 matches

by mcs
Thu Apr 07, 2022 5:18 pm
Forum: General Questions
Topic: Clicking a Specified Row in HTML Table
Replies: 3
Views: 835

Re: Clicking a Specified Row in HTML Table

Hello, I just wanted to post an update on this since I was actually able to implement what I was attempting to do from the start. What finally worked was the following: Created a table adapter for the HTML table, then iterated through the HTML table to get the ChildIndex of each row. The ChildIndex ...
by mcs
Wed Apr 06, 2022 1:18 pm
Forum: General Questions
Topic: Clicking a Specified Row in HTML Table
Replies: 3
Views: 835

Re: Clicking a Specified Row in HTML Table

Thanks, Pavel. Clearly, I need to refresh my C# coding skills. I do understand what you're saying; my intent was to randomly click a row (but I suppose that I could randomly click a cell instead) and then I'm doing a compare of what appears in the row selected and what appears in the header (that pa...
by mcs
Tue Apr 05, 2022 10:11 pm
Forum: General Questions
Topic: Clicking a Specified Row in HTML Table
Replies: 3
Views: 835

Clicking a Specified Row in HTML Table

Hello, I'm attempting to click on a specific row of an HTML table in my user code determined by a randomly generated int. I've attached a snapshot of my table which is focused on a cell, one item further than the one I'm attempting. In my repository, I've modified the XPath of my element (cellByNum)...
by mcs
Tue Apr 05, 2022 1:27 pm
Forum: General Questions
Topic: Xpath Regex
Replies: 4
Views: 1113

Re: Xpath Regex

Hi Pavel.

I completely understand the approach you've suggested and it makes total sense. I'm certain that this will work for what I'm attempting; I guess that I was just thinking about it in a different way... not necessarily the correct one. :wink:

Thanks so much!
by mcs
Mon Apr 04, 2022 3:32 pm
Forum: General Questions
Topic: Xpath Regex
Replies: 4
Views: 1113

Re: Xpath Regex

Hi,

I am attaching a Ranorex snapshot of the H5 tag in question. Sorry for not doing that initially.

Thanks much.
by mcs
Fri Apr 01, 2022 10:01 pm
Forum: General Questions
Topic: Xpath Regex
Replies: 4
Views: 1113

Xpath Regex

Hello. I've been beating my head against my desk for a while and accomplishing little more than bruising myself so I thought that it might be time to seek some assistance. What I'm attempting to do is to use regex in the XPath of an H5 tag element to extract/match the innertext. My element value loo...
by mcs
Wed Mar 29, 2017 2:45 pm
Forum: Automation API
Topic: Dialog Box Loop Problem
Replies: 2
Views: 1884

Re: Dialog Box Loop Problem

Thank you, Stub; this was exactly the advice that I was looking for and needed. I've adjusted my method per your suggestion and it works great now! Thanks again. :D
by mcs
Tue Mar 28, 2017 4:33 pm
Forum: Automation API
Topic: Dialog Box Loop Problem
Replies: 2
Views: 1884

Dialog Box Loop Problem

Hi, My AUT has a dialog box which appears at a couple of different times for different reasons. The form is the same but the title bar is different. I do not want to use the popup watcher since I'd like to know when these dialogs are encountered and handled. I have written a small user code method w...
by mcs
Tue Aug 16, 2016 6:30 pm
Forum: Bug Reports
Topic: Ranorex License Server 6.0.2 License Error
Replies: 4
Views: 2086

Ranorex License Server 6.0.2 License Error

After upgrading to Ranorex License Server Version 6.0.2, both my Floating Premium and Runtime licenses do not load or install. Verified that they work correctly in version 6.0.0. Error is "...The type initializer for 'Ranorex.Core.License.LicenseHelper' threw an exception." Screenshot attached. When...
by mcs
Wed Jun 15, 2016 7:19 pm
Forum: Automation API
Topic: Supplying Values to Multiple Repository Attributes
Replies: 2
Views: 2114

Re: Supplying Values to Multiple Repository Attributes

I was able to figure this out today... really don't know why I had hit a roadblock on it. I am now successfully supplying a title and innertext value in my code to select a specified divtag date in a divtag calendar in a foreach loop inside another foreach discovery loop of the calendar members. Tha...
by mcs
Wed Jun 15, 2016 4:12 pm
Forum: Automation API
Topic: Retrieving Tagvalue from Repository Item with Variable
Replies: 3
Views: 3121

Re: Retrieving Tagvalue from Repository Item with Variable

Thanks, Pavel.

Your answer pointed me in the right direction to solve this. I shortened my xpath and made the unique items tagname and id; I was then able to find the field in my code and retrieve the tagvalue. :D

Mike
by mcs
Tue Jun 14, 2016 8:08 pm
Forum: Automation API
Topic: Retrieving Tagvalue from Repository Item with Variable
Replies: 3
Views: 3121

Re: Retrieving Tagvalue from Repository Item with Variable

Some further information: In addition to replacing the $dateSelected in my repo item with a value (other than the one I'm selecting in my test) and just '', I've tried the following three code items: 1. string dateSelected = repo.Webpage.PageSection.DateSelected_Txt.Element.GetAttributeValueText("ta...
by mcs
Tue Jun 14, 2016 5:18 pm
Forum: Automation API
Topic: Supplying Values to Multiple Repository Attributes
Replies: 2
Views: 2114

Supplying Values to Multiple Repository Attributes

Hi, I am attempting to set values in User Code for a repository item which is a calendar date; the attributes that I need to set are title and innertext. My repository item is named PickDate with an xpath of body/div[5]/div[@title='All Day' and @innertext='22'] I can successfully select the date in ...
by mcs
Tue Jun 14, 2016 4:49 pm
Forum: Automation API
Topic: Retrieving Tagvalue from Repository Item with Variable
Replies: 3
Views: 3121

Retrieving Tagvalue from Repository Item with Variable

Hi, I am writing user code and, perhaps it's my level of C# coding knowledge that is causing me not to understand how to do the following: I have a repo item named DateSelected with an xpath of /dom[@domain='10.1.0.50:90']/body[@tagvalue='']/div[1]/div[4]/div[1]/div[1]/div[@tagvalue='']/div[4]/form[...
by mcs
Thu Jun 02, 2016 1:42 pm
Forum: Automation API
Topic: DivTag Calendar Interaction
Replies: 6
Views: 2177

Re: DivTag Calendar Interaction

Thanks, Pavel, Yes, that helps quite a bit; sorry about the lack of screenshots in the snapshot... every one of them had our company information in the background. I should have added a separate calendar-specific screenshot. I will do so now, even though I think you've already given me enough inform...