Sunday, 18 August 2013

Introduction of Web Testing Parameter

1. Validation
1. Validate the HTML(w3c)
2. Validate the CSS(Cascading Style Sheets (CSS): A style sheet language used to describe the
presentation of a document written in a markup language.)
3. Check for broken links,
2. Flexibility
1. Try varying window sizes
2. Try varying font sizes & consistency
3. Performance with benchmarking.
1. Access the site via a modem
2. Check image size specifications
4. Accessibility
1. Test accessibility
2. View in text browser(ALT text, consistency)
5. Browser independence and then Compatibility testing.
1. Try different browsers
2. Check printed pages
3. Switch Javascript off(in internet scripts)
4. Switch plug-ins off
5. Switch images off
6. Other checks
1. Check non-reliance on mailto
2. Check no orphan pages
3. Check sensible page titles

Difference Between Client Side Validation and Server Side Validation

When the page loaded before give u the message –Server side
When it is validate by JavaScript alert, then it is client side

Difference Between Waterfall & Agile Methodology

Waterfall Method:
• Requirements were set
• Stages of development could not start until the earlier stages were complete.
• Limited contact with Client was expected.
Agile Software development Model:
• Initial requirements were asked to be changed
• Constant reviewing by client
• Multiple stages could be worked consecutively

Print Message in Result File in QTP

Fail Scenario –
Reporter.ReportEvent micFail, “Password edit box”, “Password edit box does not exist”
Pass Scenario-
Reporter.ReportEvent micPass, “Password edit box”, “Password edit box does not exist”
Warning Scenario- sed to send warning message to the test report and does not affect status of test.
Reporter.ReportEvent micWarning, “Password edit box”, “Password edit box does not exist”
Information- Used to send message to the test report and does not affect status of test.
Reporter.ReportEvent micDone, “Password edit box”, “Password edit box does not exist”

How to Get Names of All Open Browsers

Set b = Description.Create()
b(“application version”).Value = “internet explorer 6″
Set bC = DeskTop.ChildObjects(b)
Cnt = bC.Count
MsgBox “There are total: ” & Cnt & ” browsers opened”
For i = 0 To (Cnt -1)
MsgBox “Browser : “&i&” has title: “& bC(i).GetROProperty(“title”)
Next
Set b = Nothing
Set b = Nothing