Experitest is the famous tool for mobile test automation, manual
testing and monitoring.
It supports all mobile operating systems like iOS, Android,
WindowsPhone8 and Blackberry.
How to set up a project in SeeTest?
How to set up a project in SeeTest?
Step 1: In SeeTest, select New Project from the File menu.
Step 2: A pop-up will appear. Type in the project name and then
click OK.
How to Record?
Step 1: Open the tested application on your desktop (in our
example – the tested application is Skype).
Step 2: In SeeTest, go to the Script tab and click on the Record
button.
Step 3: Go to the tested application, and do the exact sequence
of actions you want in the test. For example, click on the application
minimized window to launch Skype, click on Contacts tab, click on contact
“Simon”, click the “Call” (green phone), click “hang up” (red phone), click the
minimize Skype window icon.
Few best practices when recording:
(1) Click at the center of the image/icon/link
(2) Record slowly
Step 4: Return to SeeTest and click on the Stop Record button.
Step 5: You will see a progress bar indicating the record data
is being analyzed, and the test script will then appear in the Script area.
Step 6: Before clicking the Play button to run the script:
(1) Edit the "Set Application Title" so that it includes
only the main application name (e.g. delete things that may change, for example
if the application name is "Skype
– xxx)", just leave "Skype" as the application name)
(2) Set the tested application in the same starting mode as the
one you have recorded the test on:
a) Same start screen
b) Same items in the
tested application are highlighted or not highlighted, as was the situation
when you recorded the test.
c) Text boxes are
empty/filled in with same text as was when you recorded
d) Same view settings
(e.g. if browser, make sure the same toolbars – both side tool bars and
top/down toolbars)
e) Verify the window
name of the tested application is the same as when you recorded the test
(appears in the Script at the “Set Application Title” command)
(3) Check that the elements have been extracted accurately and
if not Edit/ReLearn the element:
a) Edit an element
that was extracted too widely (e.g. several buttons instead of one) or too
narrowly (e.g. part of the image, image cut in the middle)
b) ReLearn an
Element that was not identified during
runtime because it may have several appearances (such as with or without mouse
over) and was extracted in the wrong appearance. For example, sometimes, an
element is captured when it is in mouse-over mode (highlighted) and you need to
ReLearn it in the non mouse-over mode (not highlighted). To do so, set the
tested application screen in the right mode, bring it to the clipboard of the
computer using PrintScreen. Then go to SeeTest, right-click on the element and select
ReLearn and then select Clipboard from the dropdown list. The corrected element
will appear. Click OK to finish.
c) If you have
ReLearnt an element as described in b
above but it has still not been identified during runtime, reduce sensitivity
of the element that has not been identified (reduce by 5% every time and try to
run the test then and see if it has been identified successfully)
(4) Add, if there is need, synchronization commands (such as
Sleep, WaitForElement) to ensure that each test step is executed on the correct
application window (follow the Edit> Add Element&Command section for
explanation how to add a command)
Step 7: Once the test has been executed, you will receive a
report indicating for each test step if it succeeded or failed, including a
screenshot of the tested application in run time.
Step 8: You can run the test script from QTP, TestComplete, RFT,
JUnit, Python, Perl or C# and other frameworks. To do so, click the Export code
button, copy the code into your framework and run it from the framework. (for
detailed explanation please refer to our Export Code section.)
Further Readings:
Kindle Edition:
http://www.amazon.com/Mobile-Software-Testing-Narayanan-Palani-ebook/dp/B00M7G7ZVW/
Infibeam for 23%
discount:
http://www.infibeam.com/Books/mobile-software-testing-narayanan-palani/9789383952144.html
http://www.infibeam.com/Books/mobile-software-testing-narayanan-palani/9789383952144.html
No comments:
Post a Comment