Friday, 7 June 2013

How to use Appium Inspector???....

Appium Inspector


Initially when I started to learn about appium inspector and its usage, I did not get better documentation with the steps on it. Finally I got it with the help of appium google group and some exploration. So I thought to document that here, and it would be helpful for new starters...

I used appium inspector for the following purpose,


  • To understand the element hierarchy
  • To find the xpath, name and value of the objects
  • To record the manual actions


The steps to use appium inspector are as below,



  • Initially download the appium.app from here, then add it to the Applications in your machine
  • Now Double click on the appium.app, it will open the appium server with the default IP Address 0.0.0.0 and  the port 4723 as below,
Appium Server



  • Next we have to specify the app, which we want to open in appium inspector.  
                 1. Check the check box 'App Path', Now 'Choose' button is enabled

                 2. Click on the 'Choose' button and select your .app file from your local, e.g. Recipes.app

                                 
Add the .app file in the server
                                 

  • Now click on the 'Launch' button, Once you launched the appium server, the blue color icon, which present beside the 'Launch' button is enabled.
       
Blue color icon is enabled


  • Click on the blue color icon, it will open up the appium inspector and simulator with your application as below,


Appium Inspector



  • Now you will see the element hierarchy of the application in the first column of appium inspector.
  • Choosing the particular element will display ,

             1. Its childs in the second column
             2. Highlights the object in the app.
             3. Element's xpath and its attributes at the right bottom corner.


Parts of Appium Inspector

  • And you can do actions by clicking on the action buttons Tap, Swipe etc displayed in the left bottom of the appium inspector.

  • By clicking on the 'Record' button we can create the automation script as below, you can see the recording script below the appium inspector,


Recording




69 comments:

  1. Hi Can you explain the steps how to launch of windows ?

    ReplyDelete
  2. Hi Mahesh,

    Actually appium is not fully supported for Windows platform. For now, Appium inspector has some issue in Windows.

    But the usage is as follows,

    1. Open the appium.exe
    2. Enter App path, Package and Activity details. Then check the check boxes and launch the server.
    3. Go to File > Inspector in the appium server. It will launch the appium inspector. But there will not be any data. Clicking on 'Refresh' will lead to some exceptions.

    Regards,
    Elango.

    ReplyDelete
  3. hi can you pencil down the steps for configuring android on mac please
    Thank you

    ReplyDelete
  4. Thank you for the info, Elangovan. Is .app an iOS application or Mac OS application? I would be nice if you give more details on how to convert xcode project into .app?

    Warm Regards,
    Anonymous.

    ReplyDelete
  5. You can get .app file extracting the .ipa file, but in order to use the .app with the simulator the file must be generated for the simulator (CPU arch x86).
    Generally the ipa file are generated to run on a device (CPU ARM)

    ReplyDelete
  6. Hello,
    I am new to appium and trying to use it ios automation. It happens that once I am done with the recording and I stop the inspector, the java test code that was generated does not work for any more. I tried copying the java code and executing etc but it did not worked. Is there a way to save it and reuse it on other devices. If yes, can anyone guide me about how to do it? So that once i am done with the automation code, i will just run my test cases which are in java.

    ReplyDelete
  7. how do i re-run the recorded script ?

    ReplyDelete
  8. Thanks Elango, Very much helpful.

    ReplyDelete
  9. Good One. Was helpful

    ReplyDelete
  10. Hi Elango,

    Yes. It leads to exception while i followed the steps you provided for windows.

    My Question is

    Is it possible to record in windows?

    ReplyDelete
  11. Hi Elango,

    I could not find Appium.App file in the provided link. i got only AppiumForWindows file in that link.

    Please help me on this...

    ReplyDelete
    Replies
    1. Look for The Appium.exe file then follow instruction given by Elogolan on 22/08 in the comments above

      Delete
  12. i am totally new to the appium. i am trying to launch simulator & inspector but after the launch of the simulator it gives me the error Application can not be launched.
    will inspector get launched after the simulator???

    ReplyDelete
  13. Hi Elango,

    Can you let me know how to re-run Appium recorded code? Also where does the app save the recorded code?

    Regards,
    Prashant

    ReplyDelete
  14. hi i encountered a problem loading appium inspector in my macbook


    Could not Launch Appium Inspector "Could not start a new session"

    Be sure the Appium server is running with an application opened by using the "App Path" parameter in Appium.app (along with package and activity for Android) or by connecting with selenium client and supplying this in the desired capabilities object."

    error: Failed to start an Appium session, err was: Error: Could not find a device to launch. You requested 'iPad 2 (7D3413F6-F99B-4B56-AF0D-5842278377B2) (8.1 Simulator)', but the available devices were: ["iPad 2 (8.1 Simulator) [7D3413F6-F99B-4B56-AF0D-5842278377B2]","iPad Air (8.1 Simulator) [AA6257B1-D3E0-49A6-85C2-F865B17ED6CD]","iPad Retina (8.1 Simulator) [6D0482A4-0951-43FF-AC0C-75C910B52FB7]","iPhone 4s (8.1 Simulator) [212DB040-8023-436D-936E-9ED2115715F3]","iPhone 5 (8.1 Simulator) [7BD46F32-1080-4E35-9594-A3ED679FDED9]","iPhone 5s (8.1 Simulator) [536F6937-7CC7-42CD-984E-3B79FF163808]","iPhone 6 (8.1 Simulator) [C7F06CC8-934B-429A-9ED0-2637A069502A]","iPhone 6 Plus (8.1 Simulator) [19D4AA61-799E-4018-BB1D-B73FB51E7629]"]

    Can anyone help me come out of this ? I am very new to Appium

    Thank you

    ReplyDelete
  15. You can see available simulators with terminal command xcrun simctl list.
    you might be using 8.2 simulators. In Appium app, go to iOS Settings, In Basic settings Change Platform Version menu to 8.2. Then relaunch appium server. now appium inspector might work. It worked for me.

    ReplyDelete
  16. I have installed appium 1.3.7, on Mac 10.9.7 and fI am unable to identify the element using appium inspector. If I select the element form the hierarchy, the respective element is not highlighting. What could be the solution for this.

    ReplyDelete
  17. how do i re-run the recorded script.
    please help

    ReplyDelete
  18. Hi Mahesh

    In My mobile app, we have sign up with the gamil or facebook.

    My test case is:
    Click on sign up with Gmail->My script is working up to click on " sign up with Gmail" button
    i could not identify the element properties of gmail screen.

    ReplyDelete

  19. Best place to learn Appium Android IOS Automation Testing Training in Chennai

    Go for Appium training in chennai for real time mobile automation testing training with real time project support.
    Mr. Vishwa is a best person who can teach and develop people in Appium and Selenium,Coded UI Automation Tools with real time scenarios You can contact 8122241286 for Best APPIUM and selenium Training in Chennai

    ReplyDelete
  20. Well explained. Got to learn new things from your Blog on Appium.Appium training in chennai

    ReplyDelete
  21. Just like a selenium IDE playback and record tool, Appium consist of an inspector that is used to record and playback. With the help of this, you can record and play native application behaviour which is achieved by inspecting DOM. It helps in generating the test scripts any language that is preferred. But Appium Inspector is not a good support for Windows and they use UIAutomator viewer in the option.

    ReplyDelete
  22. you are able to take the help of experts making a call atQuickBooks Payroll Support Phone Number Well! If you’re not in a position to customize employee payroll in.

    ReplyDelete
  23. We offers you QuickBook Customer Support Number Team. Our technicians make sure to the security of the vital business documents. We have a propensity never to compromise utilising the safety of your customers.

    ReplyDelete
  24. Stay calm when you get any trouble using QuickBooks Payroll Tech Support Number. You want to make one call to eliminate your trouble by using the Intuit Certified ProAdvisor. Our experts give you effective solutions for basic, enhanced and full-service payroll.

    ReplyDelete
  25. This software also throws some errors in the end. Sometimes it becomes quite difficult to understand this can be with this specific error code or message. If that's the case you ought to call our QuickBooks Customer Support Number to own in touch with our technical experts in order to search for the fix of error instantly.

    ReplyDelete
  26. So now you have grown to be well tuned in to advantages of QuickBooks online payroll in your company accounting but since this premium software contains advanced functions that can help you along with your accounting task to accomplish, so you might face some technical errors while using the Quickbooks Support Number
    . If that's so, Quickbooks online payroll support number provides 24/7 make it possible to our customer. Only you need to do is make an individual call at our toll-free QuickBooks Payroll tech support number .

    ReplyDelete
  27. Are you fed up with freezing of QuickBooks Enterprise Support number? If yes, then you have browsed to the right place. QuickBooks Enterprise Support Phone Number is successfully delivering the world class technical assistance for QuickBooks Enterprise at comfort of your home.

    ReplyDelete
  28. If you're in hurry and business goes down because of the QB error it is possible to ask for Quickbooks Consultants or Quickbooks Proadvisors . If you'd like to consult with the QuickBooks experts than AccountsPro Quickbooks Support Number is actually for you !

    ReplyDelete
  29. Our QuickBooks 24 Hour Customer Service channel- We understand the complexity and need of the accounting software in day to day life. You can’t wait for just about time and energy to get a fix of each and every single QB error. Therefore we have designed a especially dedicated team of certified professionals at QuickBooks Technical Support telephone number who are effective at understanding your issues and errors in minimum time and in the absolute most convenient way. Dial our toll-free and avail the QuickBooks Support Phone Number available at the essential pocket friendly price.

    ReplyDelete
  30. you be facing the problem with decision making? The quantity of are you able to earn in four weeks? You ought to predict this before. Many people are not used to QuickBooks Tech Support Phone Number.

    ReplyDelete
  31. Encountering a slip-up or Technical break down of your QuickBooks or its functions can be associate degree obstacle and put your work on a halt. this can be not solely frustrating however additionally a heavy concern as all of your crucial information is saved on the code information. For the actual reason, dig recommends that you simply solely dial the authentic QuickBooks Support Phone Number sign anytime you would like any facilitate along with your QuickBooks.

    ReplyDelete
  32. Quickbooks Support Number serving a wide range of users daily , quite possible you are going to hand up or need to wait for few years to connect aided by the Help Desk team . Relating to statics released by the Bing & Google search insights significantly more than 50,000 folks searching the net to find the Quickbooks tech support team Phone number on a regular basis and more than 2,000 quarries related to Quickbooks issues and errors .

    ReplyDelete
  33. QuickBooks has been recognised around the globe as the most effective and useful accounting software. Quickbooks Technical support customer service executives that really work with you on QuickBooks Support Phone Number are responsible to manage every Quickbook technical issue that creates in QuickBooks software.

    ReplyDelete
  34. While creating checks while processing payment in QuickBooks Payroll Tech Support Numbers online, a couple of that you have a fruitful record of previous payrolls & tax rates. That's needed is as it isn’t an easy task to generate adjustments in qbo compared to the desktop version.

    ReplyDelete
  35. While creating checks while processing payment in QuickBooks Support Phone Number online, a few that you've an effective record of previous payrolls & tax rates. That is required since it isn’t a facile task to create adjustments in qbo in comparison to the desktop version.

    ReplyDelete
  36. You might have trapped into a problem with Intuit product and QuickBooks Payroll Support Phone Number services? You're going to be ready to understand the best approach to get your hands on the customer support team. We welcome you 24*7 to access the various support services of Intuit products asking for help.

    ReplyDelete
  37. QuickBooks Enterprise customer support cell phone number. We understand that your growing business needs your precious time which explainsQuickBooks Enterprise Support Phone Number to the customers. Our technically skilled professionals are well regarded for smart technical assistance around the world.

    ReplyDelete
  38. You won’t have any stress in operation. Even for small companies we operate. This technique is wonderful for a medium-sized company. You may get the most wonderful financial tool. QuickBooks Payroll Support Phone Number is present 24/7.

    ReplyDelete
  39. The experts at our QuickBook Enterprise Technical Support Number have the necessary experience and expertise to deal with all issues linked to the functionality for the QuickBooks Enterprise.

    ReplyDelete
  40. You don’t have to strain yourself in regards to the safety and privacy of one's data since this issue could be resolved by using QuickBooks Support Phone Number at toll-free number in minimum time. There are a number of possible reasons of this issue.

    ReplyDelete
  41. Due to the enterprise version, you obtain the chance to scale from 1 to 30 users to operate simultaneously.In addition to this, you can easily keep access, control & client permissions connected with your company requirement.Additionally, to avail data protection and recovery services, just dial QuickBooks Enterprise Help Number.

    ReplyDelete
  42. You could get resolve all of the major issues include installations problem, data access issue, printing related issue, software setup, server not responding error etc with our Quickbooks Support Number.

    ReplyDelete
  43. Just how to Install your QuickBooks Support Phone Number accounting software. Resolve QuickBooks file size issues. Reconcile bank accounts and transactions Troubleshoot QuickBooks error code and messages Fix data corruption issues in QuickBooks Upgrade to latest style of QuickBooks.

    ReplyDelete
  44. Contact our Technical Team with QuickBooks Tech Phone Number Nowadays it is a sizable challenge for business organizations to get a great means to fix manage their business accounts in a convenient way.

    ReplyDelete
  45. QuickBooks Enterprise Tech Support Number Services provide solutions to all your valuable QuickBooks problem and in addition assists in identifying the errors with QuickBooks data files and diagnose them thoroughly before resolving these issues.

    ReplyDelete
  46. QuickBooks has made QuickBooks Payroll Tech Support Number management quite definitely easier for accounting professionals. There are so many individuals who are giving positive feedback if they process payroll either QB desktop and online options.

    ReplyDelete
  47. In the event that problem persists, contact Intuit Technical Support and provide them with the next error codes: (QuickBooks Error Code 6000-301). Click the Details button for more information to offer Intuit Technical Support to aid diagnose the error.

    ReplyDelete
  48. You might be always able to relate with us at our Support Number For QuickBooks to extract the very best support services from our highly dedicated and supportive QuickBooks Support executives at any point of time as all of us is oftentimes prepared to work with you. Most of us is responsible and makes sure to deliver hundred percent assistance by working 24*7 to suit your needs. Go ahead and mail us at our quickbooks support email id whenever you are in need. You could reach us via call at our toll-free number.

    ReplyDelete
  49. To have more enhanced results and optimized benefits, you are able to take the help of experts making a call at QuickBooks Payroll Tech Support. Well! If you’re not in a position to customize employee payroll in Quickbooks while making the list optimally, in QB and QB desktop, then browse the description ahead. Here, you receive the determination of numerous kind of information what you’ve close by for assisting the setup process with comfort.

    ReplyDelete
  50. Though these features be seemingly extremely useful as well as in fact these are typically so, yet there are lots of loopholes which will trigger a few errors. These errors may be resolvable at Intuit QuickBooks Support, by our supremely talented, dedicated and well-informed tech support team team.

    ReplyDelete
  51. The principal functionality of QuickBooks Technical Support is dependent upon company file. On the basis of the experts, if you would like solve the situation, then you'll definitely definitely have to accept it first. The error will not fix completely and soon you comprehend the root cause related to problem.

    ReplyDelete
  52. QuickBooks 2019 will be the better account management product till now. The recent improvement that has been made in this system regarding current user requirements plus the approaches to overcome the limitation of previous QuickBooks versions. We've been here to enhance your understanding in regards to the payroll updates happens in QuickBooks Enterprise, desktop, pro, premier 2019 versions. Solve your queries related to QuickBooks Online Payroll whether Enhanced or Full Service. Fix all of the issues for QuickBooks Desktop Payroll Basic, Standard, & Payroll Assisted. Look to the above number to get hold of our ProAdvisor to QuickBooks Payroll Tech Support Phone Number, Intuit Online & Full Service Payroll.

    ReplyDelete
  53. “Just dial our QuickBooks Payroll Support Phone Number to ask about for Quickbooks Payroll customer care to get rid of payroll issues. We make use of startups to small-scale, medium-sized to multinational companies.”

    ReplyDelete
  54. Moreover, the HP laptop overheating and shutting down issues may also be fixed here. You simply need to follow the HP Printer Helpline Number tips and you'll able to repair HP laptops.

    ReplyDelete
  55. How exactly to contact QuickBooks Payroll support?
    Various sorts of queries or QuickBooks related issue, then you are way within the right direction. You just give single ring at our toll-free intuit QuickBooks Payroll Customer Service. we will help you right solution according to your issue. We work online and can take away the technical problems via remote access and also being soon seeing that problem occurs we will fix exactly the same.

    ReplyDelete
  56. QuickBooks makes life a great deal easier and better when it works, but it doesn’t always. To keep running this accounting software without any hindrance, we are here at QuickBooks Support team Channel to tackle QuickBooks issues in technical way.

    ReplyDelete
  57. Regardless of every one of the well-known
    QuickBooks Support Number Premier features you could find difficulty at some steps. QuickBooks Support telephone number is the greatest destination to call in the time of these crisis.

    ReplyDelete
  58. Printer is growing high with its broad range of customers. The latest version of printer inventory measures are just amazing, and with different models, for you to deal with. For matching the various mindset of people, both wired, as well as wireless printers, are now available from retail outlets and online stores. It is always advisable to come in direct contact with the original manufacturing houses while buying a piece
    HP Printer Support Phone Number

    ReplyDelete
  59. Will you be facing the matter with decision making? The quantity of are you able to earn in a month? You ought to predict this before. Many individuals are not used to this. We shall help most of the folks. What business are you currently having? Could it be raw material business? Can you cope with retail trade? Craftsmen also cope with your variety of revenue. Sometimes you do not forecast the precise budget. We've got experienced individuals to offer the figure. We're going to also give you the figure of your respective budget which you yourself can get in the future from now. This is only possible with QuickBooks Support Phone Number.

    ReplyDelete
  60. QuickBooks Customer Tech Support Number, a charge card applicatoin solution which is developed this kind of a way that one can manage payroll, inventory, sales and every other need of small enterprises. Each QuickBooks software solution is developed centered on different industries and their demands to be able to seamlessly manage your entire business finance whenever you want plus at once.

    ReplyDelete
  61. We are Provide Helpline Toll Free Number For HP Printer Support
    Therefore, when these issues appear, either error or else the printer is not responding, our HP Printer customer care number support system has every solution to the customers query. Our service makes visualization of a solution so clear that every customer needs information to the point. Before when there was no printer facility, people use to rewrite every document several time to get a similar copy of the original one. But after the invention of the printer, the time-saving feature is applied and rewriting of pages came to an end. The Hp printer customer service number, not only enables to work for experience customers, but also enhance their work for fresher, who are not able to start the printer for the first time they buy. As it is said above that everything needs to be updated, so is the HP Printer. People usually look for installing HP Printer. Because it gives an updates reminder of the printer. The user can install HP printer Support by getting help from our helpline number
    HP Printer Support Phone Number

    ReplyDelete
  62. Any QuickBooks user faces any sort of identified errors in their daily accounting routine; these errors can differ in one another to a sizable degree, so our dedicated QuickBooks Support Pro-Advisors are very well designed with their tools and expertise to produce most effective resolutions very quickly to the customers.

    ReplyDelete
  63. Are you facing issues in your HP printer? Well, the HP Printer Support Phone Number +1-855-381-2666 is here to assist you for all your technical or non-technical issues that you can face in your HP printer. It is quite normal to face issues in your printer but you don’t have to worry as the HP Printer Tech Support Phone Number+1-855-381-2666 is available for you 24/7 to provide you the required support.


    HP Printer Support

    HP Printer Support Phone Number

    HP Printer support Number

    HP Printer Technical Support Phone Number

    HP Printer Technical Support Number

    HP Printer Tech Support Number

    HP Printer Tech Support

    ReplyDelete
  64. Problems are inevitable plus they usually do not come with a bang. Our team at QuickBooks Support Number is ready beforehand to provide you customer-friendly assistance if you speak to an issue using QuickBooks Pro. All of us is skilled, talented, knowledgeable and spontaneous. Without taking most of your time, our team gets you rid of all unavoidable errors of this software.

    ReplyDelete