Search found 17 matches

by chris
Wed Aug 05, 2009 12:46 am
Forum: General Questions
Topic: launching Ranorex remotely from SSH, is there a better way?
Replies: 6
Views: 2583

Re: launching Ranorex remotely from SSH, is there a better way?

Yes, I just tried that and had no luck. Here http://blogs.technet.com/voy/archive/2007/02/23/services-isolation-in-session-0-of-windows-vista-and-longhorn-server.aspx is where I learned about the problems with vista and beyond. I have not tried ranorex on any non-windows platforms (we just use a lin...
by chris
Tue Aug 04, 2009 11:40 pm
Forum: General Questions
Topic: launching Ranorex remotely from SSH, is there a better way?
Replies: 6
Views: 2583

Re: launching Ranorex remotely from SSH, is there a better way?

This works fine for windows to windows, but the reason we chose SSH was we have more than just windows to test (although all GUI tests are currently Windows). Thanks for the suggestion.
by chris
Tue Aug 04, 2009 7:26 pm
Forum: General Questions
Topic: launching Ranorex remotely from SSH, is there a better way?
Replies: 6
Views: 2583

launching Ranorex remotely from SSH, is there a better way?

We are just starting the GUI automation in our organization, but command line based testing has been going well for a few years now. We have a custom system for launching our tests (we SSH into SUT and execute command line utilities) and we were hoping to use that same system for launching GUI tests...
by chris
Wed Jul 22, 2009 10:19 pm
Forum: General Questions
Topic: Creating Powershell Cmdlets
Replies: 8
Views: 4789

Re: Creating Powershell Cmdlets

After doing some trial and error, we figured out that using ApartmentState.MTA (or the default settings of powershell) makes it work. We decided to make two sets of cmdlets, ones that are web based (ApartmentState.STA), and ones that are form based(ApartmentState.MTA). So far this approach is workin...
by chris
Fri Jul 17, 2009 6:08 pm
Forum: General Questions
Topic: Creating Powershell Cmdlets
Replies: 8
Views: 4789

Re: Creating Powershell Cmdlets

Sorry, I've never seen the notation <SCROLL> before. I incorrectly assumed you meant the scroll button on the mouse instead of the scroll lock key. Here are the snapshots.
by chris
Thu Jul 16, 2009 8:10 pm
Forum: General Questions
Topic: Creating Powershell Cmdlets
Replies: 8
Views: 4789

Re: Creating Powershell Cmdlets

I'm not throwing away the exception, I'm assigning it to exceptionInformation. Anyway, there is no exception being thrown. The values I get for the menu item are: Checked : False Image : Text : Element : {MenuItem:None} UseEnsureVisible : Children : {} FlavorName : msaa ScreenRectangle : {X=0,Y=0,Wi...
by chris
Wed Jul 15, 2009 8:29 pm
Forum: General Questions
Topic: Creating Powershell Cmdlets
Replies: 8
Views: 4789

Re: Creating Powershell Cmdlets

I am also using cmdlets with Ranorex, but I am having trouble getting a menu item. Here is the code I use to make sure it's apartment state is STA: Thread newThread = new Thread(delegate() { SetUpDefaultParameters(); adapter = DelegateAction(); }); newThread.SetApartmentState(ApartmentState.STA); ne...
by chris
Mon Jun 15, 2009 11:45 pm
Forum: General Questions
Topic: cannot doubleclick on a list item
Replies: 5
Views: 2861

Re: cannot doubleclick on a list item

This appears to be a problem with the location it is clicking on. When I changed the DoubleClick() method to include a location like this:

Code: Select all

item.DoubleClick(new Location(4,4));

It works just fine.
Thanks for the quick responses.
by chris
Fri Jun 12, 2009 4:46 pm
Forum: General Questions
Topic: cannot doubleclick on a list item
Replies: 5
Views: 2861

I am using 2.1.0.6243 on Windows 2003 R2 EE sp2. I am trying to automate mounting an iso from a SMB file share with a program called Virtual CloneDrive. Here is more of the code: foreach (string pathItem in pathToIso) { ListItem item = openFileDialoge.FindSingle<ListItem>(new RxPath(".//listitem[@te...
by chris
Fri Jun 12, 2009 12:24 am
Forum: General Questions
Topic: cannot doubleclick on a list item
Replies: 5
Views: 2861

By the way, the object does get initialized. I put a break in the code right after I create the new list item (isoFolder in the code) and I can see that it has the right ListItem and it appears to have the right values (as far as I can tell).
by chris
Thu Jun 11, 2009 8:43 pm
Forum: General Questions
Topic: cannot doubleclick on a list item
Replies: 5
Views: 2861

cannot doubleclick on a list item

I am having trouble double clicking (or clicking) on a ListItem from a SysListView32 object. The weird thing is that it only happens when the item has a name that consists of only numbers and periods (2.2.0, 2.0.0, etc.). I have tried using both a relative and absolute RxPath, but that does not make...
by chris
Thu Jun 04, 2009 11:30 pm
Forum: General Questions
Topic: Ranorex not scrolling to click table cells/rows off screen
Replies: 5
Views: 4024

Similar issue

We are having trouble using ensureVisible() on a listItem in a container (in "Add or Remove Programs"). This is a problem for us because we haven't been able to get access to the scrollbar in that container. In the future we are going to need to access TreeItems and cells that are off the screen. Th...
by chris
Fri Apr 03, 2009 6:00 pm
Forum: General Questions
Topic: cell text does not exist
Replies: 3
Views: 2703

Thanks. I'll give that a try as soon as it comes out. Thank you Microsoft for making things easy again!
by chris
Wed Apr 01, 2009 8:08 pm
Forum: General Questions
Topic: cell text does not exist
Replies: 3
Views: 2703

cell text does not exist

I am having trouble getting the Text information from a table cell. Here is the situation: I am trying to select a user from Active Directory and open its properties window. I had this working this morning with the following line of code: string user = “’testUser’” Cell userCell = Host.Local.FindSin...
by chris
Wed Apr 01, 2009 7:02 pm
Forum: General Questions
Topic: hot key support
Replies: 17
Views: 8933

Thanks for all the suggestions. I did the following:

Code: Select all

textBox.EnsureVisible();
Keyboard.Press("{Alt down}{fkey}{Alt up}");
That works now. Thanks for all the quick responses.