Search found 7 matches

by subrata1
Wed Jun 12, 2019 6:53 pm
Forum: Automation Tools
Topic: MSScriptControl.ScriptControl
Replies: 1
Views: 2350

MSScriptControl.ScriptControl

Hi All, I am getting the following error after adding 'Microsoft Script Control 1.0' from COM tab. I wanted to run this..... Dim StrCommand As String StrCommand = "Msgbox(""Hello World"")" Dim sc As New MSScriptControl.ScriptControl sc.Language = "VBScript" sc.Eval(StrCommand) Task failed because "A...
by subrata1
Thu Aug 23, 2018 10:30 pm
Forum: Automation Tools
Topic: Implicit conversion from 'String' to 'Double'.
Replies: 1
Views: 1435

Implicit conversion from 'String' to 'Double'.

Dim a As Integer
For a=0 To ccyPairTable.Rows.Count-1
Dim thisRow As Ranorex.Row
thisRow = /form[@title='NPB1~PB']/table[@name='paCurrencyPairsSpreads']/row[@index="+a+"]"
MsgBox(thisRow.Element.GetAttributeValueText("Selected"))
Next

Note: I can not use "+a+" to replace with hard coded value.
by subrata1
Tue Jun 05, 2018 5:58 pm
Forum: General Questions
Topic: I need to be able to count number of Tab items.
Replies: 6
Views: 1791

Re: I need to be able to count number of Tab items.

I am unable to attach the snapshot as it is over 1 mb. I have attached the screen shot instead.
Thanks
by subrata1
Tue Jun 05, 2018 5:42 pm
Forum: General Questions
Topic: I need to be able to count number of Tab items.
Replies: 6
Views: 1791

Re: I need to be able to count number of Tab items.

I have attached the snapshot.
Thank u ....
by subrata1
Tue Jun 05, 2018 4:33 pm
Forum: General Questions
Topic: I need to be able to count number of Tab items.
Replies: 6
Views: 1791

I need to be able to count number of Tab items.

Hi All,

I have number of Tabs on a JavaWindow.
I Need to get the total count of tab.
Go thru all the tabs and perform Click on a specific Tab.

Thanks
Subrata
by subrata1
Mon Jun 04, 2018 10:17 pm
Forum: General Questions
Topic: Need to retrieve List attribute of Live Elements (JavaList)
Replies: 2
Views: 1722

Re: Need to retrieve List attribute of Live Elements (JavaList)

Thank you Ned...
It works when I have the following code.....

Dim ccyPairName As String = thisList.Items(i).Element.GetAttributeValueText("Name")
by subrata1
Mon Jun 04, 2018 8:43 pm
Forum: General Questions
Topic: Need to retrieve List attribute of Live Elements (JavaList)
Replies: 2
Views: 1722

Need to retrieve List attribute of Live Elements (JavaList)

Thanks in advance... I have attached the screen shot for better understanding... I am very new to this Ranorex and VB.Net world. I appreciate any feed back towards this issue. Problem Description - I have javalist (total 29 items) to go thru and read its 'Live Element' attributes. I can loop thru th...