Saturday, October 11, 2014

Important Shortcut Keys For Eclipse

Important Shortcut keys for eclipse


During writing of heavy lines of code, or in multiple windows, sometimes programmer get confuses about the debug or run. If you are truly programmer, then you should know about the shortcut keys of your used tool. 

Here i am sharing some very useful shortcut keys for eclipse, which will be helpful to you during the compilation, debugging or running your code.  

Run and Debug

Ctrl+F11
Save and run
F11
Debug
F5
Step into function (Help on debugging)
F6
Next step
F7
Step out
F8
Skip to next breakpoint


Commenting of code

Ctrl+Shift+/
Adding block comment
Ctrl+Shift+\
Remove block comment
Ctrl+/
Comment/Uncomment of any line




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)