Exforsys

Free Training

QTP Scripting listbox item select on Mobile Device.

This is a discussion on QTP Scripting listbox item select on Mobile Device. within the Software Testing forums, part of the Testing category; Hi, I have QTP (Functional Test 9.2) installed with JamoSolutions M-eux for QTP, to attempt to automate the testing of ...

Go Back   Exforsys > Testing > Software Testing

Exforsys.com


Software Testing Software testing is a process used to identify the correctness, completeness and quality of developed computer software.

Reply

 

LinkBack Thread Tools Search this Thread
  #1 (permalink)  
Old 02-05-2009, 09:45 PM
Junior Member
 
Join Date: Feb 2009
Posts: 2
PDAautomator is on a distinguished road
Exclamation QTP Scripting listbox item select on Mobile Device.

Hi,

I have QTP (Functional Test 9.2) installed with JamoSolutions M-eux for QTP, to attempt to automate the testing of an application on a Windows Mobile 6 PDA. QTP and M-eux records most of the actions and events that occur in the PDA's application interface and there is an action recorded for the selection of an item in the target application's Listbox. However, when the test is played back you can see that the item in the Listbox that is selected is not triggering some event and subsequently a panel under the Listbox that is associated with the item selected is not populated with the selected items details. Then the next action in the test selects an object (a button) on the associated panel, but because the panel hasn't been populated this button does no progress the panel to the next screen. So, the next subsequently script line in the test fails claiming it can not find a ComboBox that should exist.

{please remember this is recorded on a PDA, using a stylus to select the various buttons etc, and commands like ".MoObject([OBJECTNAME]).Tap" represents a stylus tap on the screen.}
The fourth line of script below (each line begins with "MobileDevice...") is where things start to go wrong. During the recording phase this line of script "MoListCtrl("List1").Select "93708"" appears when I select the item "93708" from the Listbox, but during play back when this item is selected the lower panel doesn't update, therefore when the next script line ".MoButton("Login").Push" is executed it doesn't progress to the next panel screen. Then the next script line ".MoComboBox("Attribute").Select "Attribute"" fails because it cannot find a "Attribute" combo box.

MobileDevice("NomadET0AC01493").MoWindow("Desktop").MoObject("Worker").MoObject("Worker").MoObject("MyTodayScreen").Tap "273","54"
MobileDevice("NomadET0AC01493").MoWindow("Desktop").MoObject("Worker").MoObject("Worker").MoObject("MyTodayScreen").Tap "316","50"
MobileDevice("NomadET0AC01493").MoWindow("Work Order Summary").MoListCtrl("List1").Select "93708"
MobileDevice("NomadET0AC01493").MoWindow("Work Order Summary").MoButton("Login").Push
MobileDevice("NomadET0AC01493").MoWindow("Work Order Summary").MoComboBox("Attribute").Select "Attribute"
MobileDevice("NomadET0AC01493").MoWindow("Work Order - Assets").MoListCtrl("List1").Select "1368"

If there was some way of capturing the lower level details of the Listbox on a mobile device before and after selecting an item in that Listbox, I would like to know what it is?

I think the answer may lay in a command like "…).MoListCtrl("List1").Tap", which could represents the stylus tapping on the ListBox item. It appears that an Event is triggered after you lift the stylus off the screen, and that inturn populates the associated panel with the selected items details. Is anybody familiar with these VBScript tap events?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-26-2009, 12:07 PM
Junior Member
 
Join Date: Jun 2009
Posts: 1
nhhphuong is on a distinguished road
Need M-eux add-in

Hi,

I'm working on product run on window mobile, I want to using auto on that product. I try but cannot download m-eux add-in. I need your help.
Please send add-in for me.

Thanks you so much
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
qtp; scripting; listbox;

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
qtp&winreunner materail mattana_79 Testing Tutorials 2 01-09-2009 03:28 AM
Oracle 9i tips n tricks documents for Performance Tuning user71408 Oracle JDeveloper 1 07-15-2008 08:05 AM
Urgent - WinRunner user guide material priyapp Testing Tutorials 3 02-16-2007 03:37 AM
Solaris x86 FAQ 2/2 Dan Anderson Tech FAQ 0 04-27-2004 08:24 PM
[FAQ] FileMaker Pro - database for Macintosh and Windows Martin Trautmann Tech FAQ 0 04-17-2004 08:26 AM


All times are GMT -4. The time now is 08:07 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
Copyright 2004 - 2009 Exforsys Inc. All rights reserved.