Search found 20 matches

by saurabh
Wed Aug 29, 2007 11:25 am
Forum: Automation API
Topic: Problem while doing pageup operation in scroll bar
Replies: 2
Views: 3688

Problem while doing pageup operation in scroll bar

i am using following code to perform scroll bar opration for page up Ranorex::Element* buttons[] = Listview->Element->FindChildren(Role::PushButton,"Page up"); for(int k=0;k<buttons->Count;k++) Mouse::ClickElement(buttons[k]); But there is a problem. when the scroll bar is already up and we perform ...
by saurabh
Tue Aug 28, 2007 1:38 pm
Forum: Automation API
Topic: How to perform Scroll Bar operation?
Replies: 5
Views: 6886

the snippet of code what you send helped a lot. and instead of "linedown" we used "Page down" and "Page up" to scroll. But there is a problem. when the scroll bar is already up and we perform "Page up" operation, the mouse arrow goes to the invisible section and clicks. this is creating a problem an...
by saurabh
Fri Aug 24, 2007 7:11 am
Forum: Automation API
Topic: How to perform Scroll Bar operation?
Replies: 5
Views: 6886

Element Class is also not working to scroll plz see here

As you told i was trying with Element class.Through Ranorex Spy I have got Role:PushButton and Name:Line down to scroll down my ListView after that i am trying to do that by give code: Element *pushdown=form->Element->FindChild(Ranorex::Role::PushButton,"Line down"); Mouse::ClickElement(pushdown); T...
by saurabh
Thu Aug 23, 2007 3:47 pm
Forum: Automation API
Topic: How to perform Scroll Bar operation?
Replies: 5
Views: 6886

How to perform Scroll Bar operation?

There is no specific control giving by Ranorx Spy and I didn't find any method so that i can do scroll bar operation in my application.There is no methos in form class for scroll bar like we have for all other elements findListView(),FindTextBox() etc. So pleae provide me a sample code and tell me h...
by saurabh
Thu Aug 23, 2007 3:29 pm
Forum: Automation API
Topic: Unable to perform context Menu operation in Listview rows
Replies: 1
Views: 3181

I have done with this

Hi I have done with this :) Just give me a sample code for functionality of ScrollBar It is not there is VS2003 Sample. Like in my application in first page of ListView there is 11Item and I want to perfrom the above operation on 20th or 40th row so i think i have to move scroll bar till that page s...
by saurabh
Thu Aug 23, 2007 2:46 pm
Forum: Automation API
Topic: Unable to perform context Menu operation in Listview rows
Replies: 1
Views: 3181

Unable to perform context Menu operation in Listview rows

I want to perform contecx menu operation for a selected rows in ListView.Like if I have 10 rows in List View then I want select 3rd and 5th row and get popup menu for the same means I want to first focus on selected row in ListView then want to get Contex Menu for that paricular row.Currentaly i am ...
by saurabh
Wed Aug 22, 2007 9:31 am
Forum: Automation API
Topic: How to get control of ContextMenu and select item on them
Replies: 5
Views: 12558

How can I Click in a Row of Listview thru Context Menu

I want to perform contecx menu operation for a selected rows in ListView.Like if I have 10 rows in List View then I want select 3rd and 5th row and get popup menu for the same means I want to first focus on selected row in ListView then want to get Contex Menu for that paricular row.How can i do tha...
by saurabh
Wed Aug 22, 2007 6:12 am
Forum: Automation API
Topic: how can i select multiple row using index of listview
Replies: 4
Views: 4020

I want to use Item index to select rows

I have used this approach,But my problem is different.Like I have 10 rows in ListView now I want to select 3rd,5th and 7th row from there.Now might be in 3rd and 5th row the value will be same for the Column ITEM like "item1" so in this case it will select only 5th and 7th row because we are using I...
by saurabh
Tue Aug 21, 2007 11:31 am
Forum: Automation API
Topic: how can i select multiple row using index of listview
Replies: 4
Views: 4020

how can i select multiple row using index of listview

we can not select the two rows which have same text.Like if in a listview under a column ITEM there is row's text same like "item1" ,"item1" then i am unable to select both row together it will take only one row .So is there any facility so that i can select the row on the base of their index?Then i...
by saurabh
Mon Aug 20, 2007 9:15 am
Forum: Automation API
Topic: How can Select multiple rows together in ListView
Replies: 3
Views: 7526

How to select mutiple rows by index

Here the above code is working fine but problem is here that we can not select the two rows which have same text.Like if in a listview under a column ITEM there is row's text same like "item1" ,"item1" then i am unable to select both row together it will take only one row .So is there any facility s...
by saurabh
Mon Aug 13, 2007 12:51 pm
Forum: Automation API
Topic: How to Check whether column is sorted or not in ListView
Replies: 3
Views: 4215

Unable to get sorting property

How can we check item wise because there are several kind of column like Date-Time,Integer and String so for each column we have to write different sorting code. There is one properties of ListView called Sorting (to Gets or sets the sort order for items in the control) is vailalabe as you have meti...
by saurabh
Wed Aug 08, 2007 8:33 am
Forum: Automation API
Topic: How to Check whether column is sorted or not in ListView
Replies: 3
Views: 4215

How to Check whether column is sorted or not in ListView

In my application I am sorting the column using ClickColumn() Method.Now i want to check whether the clicked column is sorted or not so how can i do it?I am using RanorexNET.dll of RanorexPro version.Like if i have clicked Date-Time Column in my ListView so how can I check that the Date-Time Column ...
by saurabh
Fri Aug 03, 2007 8:58 am
Forum: Automation API
Topic: Unable to get handler of Context Menu
Replies: 1
Views: 4346

Unable to get handler of Context Menu

In my application Context Menu is appeared only after right click mouse in current form it’s not the permanent child of current form so I am unable to get the control by FindChild(). I am doing right mouse click by this code. I am working in VS2003 using RanorexNet.dll. form = Application::FindFormT...
by saurabh
Fri Aug 03, 2007 8:52 am
Forum: Automation API
Topic: How to get control of ContextMenu and select item on them
Replies: 5
Views: 12558

Unable to get Popup Context Menu

Actually my problem is different. In my application Context Menu is appeared only after right click mouse in current form it’s not the permanent child of current form so I am doing right mouse click by this code.I am working in VS2003 using RanorexNet.dll. form = Application::FindFormTitle("Alarm ma...
by saurabh
Thu Aug 02, 2007 3:00 pm
Forum: Automation API
Topic: How to get control of ContextMenu and select item on them
Replies: 5
Views: 12558

How to get control of ContextMenu and select item on them

In my application there on the mouse right click i am getting context menu but i am unable to find control of ContextMenu from Ranorex Spy.So please guide me to get control of ContextMenu and how to select an element from there.if you can give me code sample for the same it will be great. Thanks in ...