Documente Academic
Documente Profesional
Documente Cultură
Practical Approach
Practical Approach
1. Select Default Web Site in IIS window Right Click New Site
Next
2. Provide the Description: myhttp
3. Click on Next button and select IP (Internet Protocol) Address from the
drop down list: 127.0.0.1
4. Analyze the Port Number: 80 and click on Next
5. Specify the location of Home Directory: c:\home and click on Next
6. Provide all the privileges except (Write)
7. Click on Next / Finish
Home Page is the first page displayed to the end user as a result of request to
any web site (Internet / Intranet)
Practical Approach
<html>
<body bgcolor=pink>
<marquee><h1>My Home Page</h1></marquee>
<hr>
<a href=”sub.asp”>Link to ASP</a>
<a href=”sub.html”>Link to HTML</a>
</body>
</html>
<html>
<body bgcolor=green>
<marquee><h1>My ASP Page</h1></marquee>
<hr>
<a href=”Index.html”>Back to Home</a>
<a href=”sub.html”>Link to HTML</a><br>
<font color=white>
<%
response.write(“Hello World from ASP Code”)
%>
</font>
</body>
</html>
1. Select Default FTP Site in IIS window Right Click New Site
Next
2. Provide the Description: myftp
3. Click on Next button and select IP (Internet Protocol) Address from the
drop down list: 127.0.0.1
4. Analyze the Port Number: 21 and click on Next
5. Specify the location of Home Directory: c:\home and click on Next
6. Provide all the privileges (Read & Write)
7. Click on Next / Finish
4. Perform the following steps to Down files from FTP Sites Home
directory to the current systems local directory c:\>
a. C:\> FTP yahoo.com
b. FTP> get Index.html (Single file Download)
c. FTP> mget *.* (Multiple file Download)
d. FTP> bye
Note: After giving FTP Command it prompts to enter User ID and Password
(anonymous / rakesh@yahoo.com)
Checkpoints in QTP
Checkpoints are used to analyze the expected properties and the actual
properties associated with windows and web based applications. QTP Provides
eight checkpoints which helps in verification of objects placed in windows and
web applications
1. Standard Checkpoint
2. Text Checkpoint
3. Text Area Checkpoint
4. Bitmap checkpoint
5. Database Checkpoint
6. Accessibility Checkpoint
7. XML Checkpoint (Application)
8. XML File Checkpoint (Source)
Practical Approach
Accessibility Checkpoint
It helps in detailed analysis of user-defined tags created with the help of XML.
The checkpoint returns error if the tags are not ended properly
XML Checkpoint focuses on the current page of web site where as XML
Checkpoint with a reference to file checks for xml file stored in local directory