Monday, September 22, 2014

QTP Interview Questions

QTP Interview questions:

1. Write a function for addition of three numbers.
2. Write script for finding the difference between two dates.
3. Write function for adding and retrieving data from excel file.
4. What is data drive framework, and keyword driven framework.
5. What is descriptive language in QTP .
6. Example of Split(), Instr(), and mid() functions.
7. Data retrieving from notepad file.
8. What is UFT?
9. Latest version of UFT?
10. Can we perform web application testing through QTP?

Sunday, July 27, 2014

Common interview questions asked in various interviews for QA

Common interview questions asked in various interviews for QA

Many companies prefer that interviewer should have automation testing knowledge along with Manual testing. Below are question asked in various interviews. These will really helpful to you. 

1. Define your current project and your role. 
2. In how many domains you have worked?
3. How your day start in your work.
4. What is scenario and priority. Tell me less sever and more priority issue, or Less prior and more sever issue?
5. What are the advantages of Automation testing over manual testing?
6. What is the difference between verification and validation?
7. Difference between regression testing and retesting?
8. What is the difference between API testing and Unit testing?
9. Knowledge about automation tool, Selenium or QTP.
10. What is the difference between Mobile application testing and Desktop application testing. 
11. What is scrum/Agile methodologies or testing process/Sprint.
12. What are the fields in results columns in TCs sheet. ex: Pass/Fail/Block etc...
13. What is waterfall model, STLC, V-V model.
14. What is SQL. SQL queries, databases like MySql, SQL Server, Oracle etc...
15. About the Bug life cycle, and stages in Bug life cycle.
16. What is CMM. How many levels are there in CMM.
17. What is scenario based testing? What are Test scenerios.
18. What is the difference between retesting and rerun?
19. What are the various test results? ex: Pass, Fail, Blocker etc...
20. What is ETL, Dataware house.
21. Have you ever worked in any automation testing tool. If answer is "Selenium", which framework you used? Which tool you used? Have you used TestNG? What are the shortcut keys for debugging?
22. How do you check redirected URL of each webpages?
23. What is database testing?(Just a definition).
24. What is the entry and exit criteria mean of a project?




Real time scenario
1. If user logged an issue, and developer has fixed that. After fixing of that issue, retesting of issue has to be done by the tester, but issue can not be retest on 3rd step. then that TC would be blockage or fail?

2. Write some scenarios to test Whats app or any chat messenger.





Monday, December 30, 2013

Selenium

Selenium


Selenium is one of the popular open source website automation testing tool. This is the most efficient tool available in market for automate web based application. Now selenium has started supporting to Android and iOS.

Software prerequisites before automating the selenium:
1. Eclipse
2. Java sdk
3. Web browsers

Selenium versions:
1. Selenim IDE.
2. Selenium RC.
3. Selenium grid.
4. Selenium Webdriver.


Selenium IDE:
 It is a add on to Mozilla Firefox browser, which is useful for record and playback functionality.
 Selenium IDE:
 1. Installation-
    1.1 Install the Mozilla firefox browser.
    1.2 Open "http://www.seleniumhq.org/download/", and install the latest version, as per below image.


Where its useful?
Selenium IDE is not a good choice for maintain and developing the complex test suite.





Wednesday, December 12, 2012

QTP2: Shared object repository

Shared object repository

File extension: .tsr

For working in QTP, tester should have proper knowledge about the object repository. Tester can locate the object on object repositry then store it to with .tsr file,after that this shared object repo. can be use with any actions.

Shared object repository can reduce the time of tester for, creating again the repo and and locate the object in the repository for all repeating actions. 

Sunday, December 2, 2012

QTP 1: Date and Time



'Current date
dtmTest = DateValue(Now)
msgbox dtmTest

'Current time:
dtmtime=timevalue(now)
msgbox dtmtime

'Current Week
week=weekday(now)
msgbox week


today_day=weekdayname(1)
msgbox today_day

current_month=month(now)
msgbox current_month

strDOW = WeekdayName(Weekday(Now))
msgbox strDOW

current_year=year("01-07-2012")
msgbox current_year

msgbox now


msgbox datediff("d","01-01-2009","01-01-2010")
msgbox datediff("m","01-01-2009","01-01-2010")
msgbox datediff("YYYY","01-01-2009","01-01-2010")







Sunday, October 7, 2012

Basic QTP

About QTP:

1. QTP stands for quick test profession. 
2. It is an automated tool provided by HP.
3. QTP always recognizes object from object repository (object repository is in the QTP)

Thursday, October 4, 2012

Mobile application testing: Practical apporoach of testing

Mobile application: 


Now a days most of the website and desktop applications are converted into the mobile applications. Mobile applications are designed and created for those persons, who does half of the technological activities on the mobile. In this current era mobile phones are not just the mobile phones, phones are converted into smartphone. Today market scenario says that Smartphone, tablets (small handheld device),pads etc... devices are seen easily in almost all the pockets, where the internet surfing, banking transactions, Email kind of secure applications can be easily done within less time.

                         
Mobile applications are different from desktop applications.

Installation challenges:


It is easy to installation any desktop application on the computer. Files and program created and developed for mobiles applications are complete different than desktop apps. First challenge occurred in mobile apps are instllation of the apps. Depends on the size of the application, some application gets install in memory card (externally inserted).

Installation testing:

In every domain, installation of application is initial criteria of software testing process, where testing process starts. Installation is the first stage of acceptance of any app. Installation timing is the one of the importance criteria of testing. Ex: Graphics driver should be install within 5-6 min. Mobile application should be install in  2 min (max)

Icon/image verification

After installation of build, shortcut icon of the app verified. Icon should be proper size and the name of app should be correct.


UI  verification

After clicking on shortcut app icon ,app should be open. As per the functional requirement specification, user interface, tabs, links, page, fonts, background image, background color, buttons etc... are checked by tester. User interface is the first look of any app, where user has to interact with the all the features for work.

Functionality testing


Every software is designed with several components and each components are designed for their different functionality. In a software program all components are connected. Functionality testing is defined for testing all the functions with respective to the particular component. A combination of input has to give to test a function. In mobile application, functionality testing is applicable with touch pad  device keys, toggling keys, etc... Each application has different images, links, menus,database etc...these functionalist are checked with ADD (application design documents)/FRS (function requirement specification)/Deliverable data documents/SRS (System requirement specification). 

                                                                               Test engineer has to test the database results, links, image clicking (webpage/video/audio opens from image).

Interrupt testing (voice call/SMS/MMS/Device specific)


Interrupt testing are also called stress testing. Every handheld devices have their cache memory, and interrupt handler memory. Incoming call, SMS, MMS, Network availibility pop up messages, low battery message, charger interrupts etc.. can happen during the playing of mobile games, using of mobile applications. Applications has to be paused/continue (as per design). If the application crashes/freezes/hang/not responds for few min, bug should report to bug tracker system. 

Apart from above kind of interrupts, each handheld devices are manufactured with different keys (buttons). These buttons are volume toggling keys, switch off key,device specific key interrupt (facebook key etc..).  Clamshell interrupt, landscape/portrait switching, slider interrupt are another kind of interrupts. All apps should handle these interrupts. 
                                                                              
Device power cycle (catalytically restarting of equipment)

Power cycling is the automatic failure process of device restarting. During the testing of mobile application which introduces heavy load/unresponsive state/crash/hang/network activity to mobile (mostly affect on internal memory), usually equipment off and then start again. Its a testing criteria for the mobile application, its does not harm or less problematic to hardware, but its gives impact on functionality and behaviours of software.













.