tag:blogger.com,1999:blog-29852682860093738842024-03-13T09:58:34.754-07:00Manual Testing Automation with QTP Quality CenterKnowledge comes with Experience and Experience is the Best Teacher.Swarupahttp://www.blogger.com/profile/16143551983203021417noreply@blogger.comBlogger28125tag:blogger.com,1999:blog-2985268286009373884.post-68629973898426045342011-02-15T09:14:00.000-08:002011-02-15T09:14:00.561-08:00Testing different applications procedures<div dir="ltr" style="text-align: left;" trbidi="on"><span class="Apple-style-span" style="color: #333333; font-family: 'Trebuchet MS', Trebuchet, 'Lucida Sans Unicode', 'Lucida Grande', Arial, sans-serif; font-size: 13px; line-height: 19px;">Projects are broadly divided into two types<br style="font-size: 1em; position: static !important;" /> 2 tier applications<br style="font-size: 1em; position: static !important;" /> 3 tier applications<br style="font-size: 1em; position: static !important;" /><br style="font-size: 1em; position: static !important;" /> CLIENT / SERVER TESTING<br style="font-size: 1em; position: static !important;" /> [a] This type of testing usually done for 2 tier applications (usually developed for LAN)<br style="font-size: 1em; position: static !important;" /> Here we will be having front-end and backend.<br style="font-size: 1em; position: static !important;" /><br style="font-size: 1em; position: static !important;" /> The application launched on front-end will be having forms and reports which will be monitoring and manipulating data<br style="font-size: 1em; position: static !important;" /><br style="font-size: 1em; position: static !important;" /> Eg : applications developed in VB, VC++, Core Java, C, C++, D2K, PowerBuilder etc.,<br style="font-size: 1em; position: static !important;" /> The backend for these applications would be MS Access, SQL Server, oracle, sybase, mysql, quadbase<br style="font-size: 1em; position: static !important;" /><br style="font-size: 1em; position: static !important;" /> The tests performed on these type of applications would be<br style="font-size: 1em; position: static !important;" /> - user interface testing<br style="font-size: 1em; position: static !important;" /> - manual support testing<br style="font-size: 1em; position: static !important;" /> - Functionality testing<br style="font-size: 1em; position: static !important;" /> - compatability testing & configuration testing<br style="font-size: 1em; position: static !important;" /> - intersystems testing<br style="font-size: 1em; position: static !important;" /><br style="font-size: 1em; position: static !important;" /> WEB TESTING<br style="font-size: 1em; position: static !important;" /> [b] This is done for 3 tier applications (developed for Internet / intranet / xtranet)<br style="font-size: 1em; position: static !important;" /><br style="font-size: 1em; position: static !important;" /> Here we will be having Browser, web server and DB server.<br style="font-size: 1em; position: static !important;" /><br style="font-size: 1em; position: static !important;" /> The applications accessible in browser would be developed in HTML, DHTML, XML, JavaScript etc.,<br style="font-size: 1em; position: static !important;" /> (we can monitor thru these applications)<br style="font-size: 1em; position: static !important;" /><br style="font-size: 1em; position: static !important;" /> Applications for the web server would be developed in Adv Java, ASP, JSP, VBScript, JavaScript, Perl, Cold Fusion, PHP etc.,<br style="font-size: 1em; position: static !important;" /> (all the manipulations are done on the web server with the help of these programs developed)<br style="font-size: 1em; position: static !important;" /><br style="font-size: 1em; position: static !important;" /> The DBserver would be having oracle, sql server, sybase, mysql etc.,<br style="font-size: 1em; position: static !important;" /> (all data is stored in the database available on the DB server)<br style="font-size: 1em; position: static !important;" /><br style="font-size: 1em; position: static !important;" /> The tests performed on these type of applications would be<br style="font-size: 1em; position: static !important;" /> - user interface testing<br style="font-size: 1em; position: static !important;" /> - Functionality testing<br style="font-size: 1em; position: static !important;" /> - security testing<br style="font-size: 1em; position: static !important;" /> - browser compatability testing<br style="font-size: 1em; position: static !important;" /> - load / stress testing<br style="font-size: 1em; position: static !important;" /> - interoperability testing/intersystems testing<br style="font-size: 1em; position: static !important;" /> - storage and data volume testing<br style="font-size: 1em; position: static !important;" /><br style="font-size: 1em; position: static !important;" /> A web-application is a three tier application.<br style="font-size: 1em; position: static !important;" /> This has a browser (monitors data) [monitoring is done using html, dhtml, xml, javascript]-> webserver (manipulates data) [ manipulations are done using programming languages or scripts like adv java, asp, jsp, vbscript, javascript, perl, coldfusion, php] -> database server (stores data) [data storage and retrieval is done using databases like oracle, sql server, sybase, mysql] .<br style="font-size: 1em; position: static !important;" /><br style="font-size: 1em; position: static !important;" /> The types of tests which can be applied on this type of applications are:<br style="font-size: 1em; position: static !important;" /> 1. User interface testing for validation & user friendliness<br style="font-size: 1em; position: static !important;" /> 2. Functionality testing to validate behaviors, i/p, error handling, o/p, manipulations, services levels, order of functionality, links, content of web page & backend coverage’s<br style="font-size: 1em; position: static !important;" /> 3. Security testing<br style="font-size: 1em; position: static !important;" /> 4. Browser compatability<br style="font-size: 1em; position: static !important;" /> 5. Load / stress testing<br style="font-size: 1em; position: static !important;" /> 6. Interoperability testing<br style="font-size: 1em; position: static !important;" /> 7. Storage & data volume testing<br style="font-size: 1em; position: static !important;" /><br style="font-size: 1em; position: static !important;" /> a client-server application is a two tier application.<br style="font-size: 1em; position: static !important;" /> This has forms & reporting at front-end (monitoring & manipulations are done) [ using vb, vc++, core java, c, c++, d2k, power builder etc.,] -> database server at the backend [data storage & retrieval) [ using ms access, sql server, oracle, sybase, mysql, quadbase etc.,]<br style="font-size: 1em; position: static !important;" /><br style="font-size: 1em; position: static !important;" /> the tests performed on these applications would be<br style="font-size: 1em; position: static !important;" /> 1. User interface testing<br style="font-size: 1em; position: static !important;" /> 2. Manual support testing<br style="font-size: 1em; position: static !important;" /> 3. Functionality testing<br style="font-size: 1em; position: static !important;" /> 4. Compatability testing<br style="font-size: 1em; position: static !important;" /> 5. Intersystems testing<br style="font-size: 1em; position: static !important;" /><br style="font-size: 1em; position: static !important;" /> Desktop:<br style="font-size: 1em; position: static !important;" /> 01. Application runs in single memory (Front end and Back end in one place)<br style="font-size: 1em; position: static !important;" /> 02. Single user only<br style="font-size: 1em; position: static !important;" /><br style="font-size: 1em; position: static !important;" /> Client/Server:<br style="font-size: 1em; position: static !important;" /> 01. Application runs in two or more machines<br style="font-size: 1em; position: static !important;" /> 02. Application is a menu-driven<br style="font-size: 1em; position: static !important;" /> 03. Connected mode (connection exists always until logout)<br style="font-size: 1em; position: static !important;" /> 04. Limited number of users<br style="font-size: 1em; position: static !important;" /> 05. Less number of network issues when compared to web app.<br style="font-size: 1em; position: static !important;" /><br style="font-size: 1em; position: static !important;" /> Web:<br style="font-size: 1em; position: static !important;" /> 01. Application runs in two or more machines<br style="font-size: 1em; position: static !important;" /> 02. URL-driven<br style="font-size: 1em; position: static !important;" /> 03. Disconnected mode (state less)<br style="font-size: 1em; position: static !important;" /> 04. Unlimited number of users<br style="font-size: 1em; position: static !important;" /> 05. Many issues like hardware compatibility, browser compatibility, version compatibility, security issues, performance issues, etc<br style="font-size: 1em; position: static !important;" /> see friend when we consider the security testing, both application should well secured to internal and external threat.<br style="font-size: 1em; position: static !important;" /><br style="font-size: 1em; position: static !important;" /> As per difference in both the applications come where, how to access the resources. In client server once connection is made it will be in state on connected, whereas in case of web testing http protocol is stateless, then there comes logic of cookies, which is not in client server.<br style="font-size: 1em; position: static !important;" /><br style="font-size: 1em; position: static !important;" /> More for client server users are well known, whereas for web any user can login and access the content, he/she will use it as per his intentions.<br style="font-size: 1em; position: static !important;" /><br style="font-size: 1em; position: static !important;" /> so, there are always issuses of security and compatibility for web application.</span></div>Swarupahttp://www.blogger.com/profile/16143551983203021417noreply@blogger.com0tag:blogger.com,1999:blog-2985268286009373884.post-21147570401507431022010-12-05T09:57:00.000-08:002010-12-05T09:57:19.889-08:00Testing Web Based Applications<div class="MsoNormal" style="margin-left: 1.0in; text-indent: .5in;"><span class="Apple-style-span" style="color: #00b050; font-family: Verdana, sans-serif;"><b><br />
</b></span></div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif";"><span style="mso-spacerun: yes;"> </span>Web Applications are more in use and meets the requirements of all therefore they are more wide and typical and complex to test as more features and more paths are there to test <o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif";">So when we start testing the web application other than the window based application the process of testing is different.<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif";">The factors that effect the testing of Web Applications are as follows:-<o:p></o:p></span></div><div class="MsoListParagraphCxSpFirst" style="mso-list: l12 level1 lfo1; text-indent: -.25in;"></div><ol><li><span style="color: #c00000; font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";"> </span></span></span><b style="mso-bidi-font-weight: normal;"><span style="color: #c00000; font-family: "Verdana","sans-serif";">Performance</span></b></li>
<li><span style="color: #c00000; font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";"> </span></span></span><b style="mso-bidi-font-weight: normal;"><span style="color: #c00000; font-family: "Verdana","sans-serif";">Security Threats</span></b></li>
<li><span style="color: #c00000; font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";"> </span></span></span><b style="mso-bidi-font-weight: normal;"><span style="color: #c00000; font-family: "Verdana","sans-serif";">Types of Users</span></b></li>
<li><span style="color: #c00000; font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";"> </span></span></span><b><span class="Apple-style-span" style="color: #c00000; font-family: Verdana, sans-serif;">Accessabilty Options</span></b></li>
<li><span style="color: #c00000; font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";"> </span></span></span><b style="mso-bidi-font-weight: normal;"><span style="color: #c00000; font-family: "Verdana","sans-serif";">Regulatory Compliance/Standards</span></b></li>
<li><span style="font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt "Times New Roman";"> </span></span></span><b style="mso-bidi-font-weight: normal;"><span style="color: #c00000; font-family: "Verdana","sans-serif";">Technology Platforms</span></b></li>
</ol><!--[if !supportLists]--><br />
<div class="MsoNormal"><b style="mso-bidi-font-weight: normal;"><span style="color: #c00000; font-family: "Verdana","sans-serif";">Performance</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "Verdana","sans-serif";">:-<o:p></o:p></span></b></div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif";">The applications performance may change due to the following reasons<o:p></o:p></span></div><div class="MsoListParagraphCxSpFirst" style="mso-list: l5 level1 lfo7; text-indent: -.25in;"><!--[if !supportLists]--><b style="mso-bidi-font-weight: normal;"><span style="font-family: "Verdana","sans-serif"; mso-bidi-font-family: Verdana; mso-fareast-font-family: Verdana;"><span style="mso-list: Ignore;">1.<span style="font: 7.0pt "Times New Roman";"> </span></span></span></b><!--[endif]--><b style="mso-bidi-font-weight: normal;"><span style="font-family: "Verdana","sans-serif";">Network Speed<o:p></o:p></span></b></div><div class="MsoListParagraphCxSpMiddle" style="mso-list: l5 level1 lfo7; text-indent: -.25in;"><!--[if !supportLists]--><b style="mso-bidi-font-weight: normal;"><span style="font-family: "Verdana","sans-serif"; mso-bidi-font-family: Verdana; mso-fareast-font-family: Verdana;"><span style="mso-list: Ignore;">2.<span style="font: 7.0pt "Times New Roman";"> </span></span></span></b><!--[endif]--><b style="mso-bidi-font-weight: normal;"><span style="font-family: "Verdana","sans-serif";">Browsers<o:p></o:p></span></b></div><div class="MsoListParagraphCxSpMiddle" style="mso-list: l5 level1 lfo7; text-indent: -.25in;"><!--[if !supportLists]--><b style="mso-bidi-font-weight: normal;"><span style="font-family: "Verdana","sans-serif"; mso-bidi-font-family: Verdana; mso-fareast-font-family: Verdana;"><span style="mso-list: Ignore;">3.<span style="font: 7.0pt "Times New Roman";"> </span></span></span></b><!--[endif]--><b style="mso-bidi-font-weight: normal;"><span style="font-family: "Verdana","sans-serif";">No of Users<o:p></o:p></span></b></div><div class="MsoListParagraphCxSpLast" style="mso-list: l5 level1 lfo7; text-indent: -.25in;"><!--[if !supportLists]--><b style="mso-bidi-font-weight: normal;"><span style="font-family: "Verdana","sans-serif"; mso-bidi-font-family: Verdana; mso-fareast-font-family: Verdana;"><span style="mso-list: Ignore;">4.<span style="font: 7.0pt "Times New Roman";"> </span></span></span></b><!--[endif]--><b style="mso-bidi-font-weight: normal;"><span style="font-family: "Verdana","sans-serif";">Intranet versus Internet based Applications<o:p></o:p></span></b></div><div class="MsoNormal"><br />
</div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif";">Issues where we need to concentrate more<o:p></o:p></span></div><div class="MsoListParagraphCxSpFirst" style="mso-list: l4 level1 lfo2; text-indent: -.25in;"><!--[if !supportLists]--><span style="font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"><span style="mso-list: Ignore;">v<span style="font: 7.0pt "Times New Roman";"> </span></span></span><!--[endif]--><b style="mso-bidi-font-weight: normal;"><span style="font-family: "Verdana","sans-serif";">Preparation of Test Plan :- <o:p></o:p></span></b></div><div class="MsoListParagraphCxSpMiddle"><span style="font-family: "Verdana","sans-serif";">Test Plan should be carefully written covering all the scenarios that need to be tested<b style="mso-bidi-font-weight: normal;"><o:p></o:p></b></span></div><div class="MsoListParagraphCxSpMiddle" style="mso-list: l4 level1 lfo2; text-indent: -.25in;"><!--[if !supportLists]--><span style="font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"><span style="mso-list: Ignore;">v<span style="font: 7.0pt "Times New Roman";"> </span></span></span><!--[endif]--><b style="mso-bidi-font-weight: normal;"><span style="font-family: "Verdana","sans-serif";">Preparation of Test Cases:-</span></b><span style="font-family: "Verdana","sans-serif";"><o:p></o:p></span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l6 level1 lfo3; text-indent: -.25in;"><!--[if !supportLists]--><span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">o<span style="font: 7.0pt "Times New Roman";"> </span></span></span><!--[endif]--><span style="font-family: "Verdana","sans-serif";">Prepare at least one test cases covering all the functionalities that are to be tested <o:p></o:p></span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 1.0in; mso-add-space: auto; mso-list: l6 level1 lfo3; text-indent: -.25in;"><!--[if !supportLists]--><span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">o<span style="font: 7.0pt "Times New Roman";"> </span></span></span><!--[endif]--><span style="font-family: "Verdana","sans-serif";">Prepare test cases covering other issues like <o:p></o:p></span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 1.5in; mso-add-space: auto; mso-list: l1 level1 lfo4; text-indent: -.25in;"><!--[if !supportLists]--><span style="font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"><span style="mso-list: Ignore;">Ø<span style="font: 7.0pt "Times New Roman";"> </span></span></span><!--[endif]--><b style="mso-bidi-font-weight: normal;"><span style="font-family: "Verdana","sans-serif";">Network speeds like<o:p></o:p></span></b></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 2.0in; mso-add-space: auto; mso-list: l3 level1 lfo6; text-indent: -.25in;"><!--[if !supportLists]--><span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">o<span style="font: 7.0pt "Times New Roman";"> </span></span></span><!--[endif]--><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">Performance in case of Broad Band usage<o:p></o:p></span></div><div class="MsoListParagraphCxSpLast" style="margin-left: 2.0in; mso-add-space: auto; mso-list: l3 level1 lfo6; text-indent: -.25in;"><!--[if !supportLists]--><span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">o<span style="font: 7.0pt "Times New Roman";"> </span></span></span><!--[endif]--><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">Performance in case of Dial up connections<o:p></o:p></span></div><div class="MsoNormal" style="margin-left: 1.5in;"><i style="mso-bidi-font-style: normal;"><span style="font-family: "Verdana","sans-serif";">Web Applications performance changes when <o:p></o:p></span></i></div><div class="MsoNormal" style="margin-left: 2.0in; mso-list: l2 level1 lfo9; text-indent: -.25in;"><!--[if !supportLists]--><span style="font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"><span style="mso-list: Ignore;">§<span style="font: 7.0pt "Times New Roman";"> </span></span></span><!--[endif]--><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">The network speed is slow there is a possibility of getting errors <o:p></o:p></span></div><div class="MsoNormal" style="margin-left: 2.0in; mso-list: l2 level1 lfo9; text-indent: -.25in;"><!--[if !supportLists]--><span style="font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"><span style="mso-list: Ignore;">§<span style="font: 7.0pt "Times New Roman";"> </span></span></span><!--[endif]--><span style="font-family: "Verdana","sans-serif";">Images may take longer to download for slower networks <o:p></o:p></span></div><div class="MsoListParagraphCxSpFirst"><br />
</div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 1.5in; mso-add-space: auto; mso-list: l1 level1 lfo4; text-indent: -.25in;"><!--[if !supportLists]--><span style="font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"><span style="mso-list: Ignore;">Ø<span style="font: 7.0pt "Times New Roman";"> </span></span></span><!--[endif]--><b style="mso-bidi-font-weight: normal;"><span style="font-family: "Verdana","sans-serif";">Browsers like <o:p></o:p></span></b></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 2.0in; mso-add-space: auto; mso-list: l1 level2 lfo4; text-indent: -.25in;"><!--[if !supportLists]--><span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">o<span style="font: 7.0pt "Times New Roman";"> </span></span></span><!--[endif]--><span style="font-family: "Verdana","sans-serif";">IE<o:p></o:p></span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 2.0in; mso-add-space: auto; mso-list: l1 level2 lfo4; text-indent: -.25in;"><!--[if !supportLists]--><span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">o<span style="font: 7.0pt "Times New Roman";"> </span></span></span><!--[endif]--><span style="font-family: "Verdana","sans-serif";">Fire Fox<o:p></o:p></span></div><div class="MsoListParagraphCxSpLast" style="margin-left: 2.0in; mso-add-space: auto; mso-list: l1 level2 lfo4; text-indent: -.25in;"><!--[if !supportLists]--><span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">o<span style="font: 7.0pt "Times New Roman";"> </span></span></span><!--[endif]--><span style="font-family: "Verdana","sans-serif";">Google Chrome etc.,<o:p></o:p></span></div><div class="MsoNormal" style="margin-left: 1.0in;"><b style="mso-bidi-font-weight: normal;"><span style="color: #00b050; font-family: "Verdana","sans-serif";">The end users may use different types of browsers to access the application <o:p></o:p></span></b></div><div class="MsoNormal" style="margin-left: 1.5in; mso-list: l8 level1 lfo12; text-indent: -.25in;"><!--[if !supportLists]--><span style="font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"><span style="mso-list: Ignore;">§<span style="font: 7.0pt "Times New Roman";"> </span></span></span><!--[endif]--><span style="font-family: "Verdana","sans-serif";">If we test on browser it dos not assure that it will work on all browsers <o:p></o:p></span></div><div class="MsoNormal" style="margin-left: 1.5in; mso-list: l8 level1 lfo12; text-indent: -.25in;"><!--[if !supportLists]--><span style="font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"><span style="mso-list: Ignore;">§<span style="font: 7.0pt "Times New Roman";"> </span></span></span><!--[endif]--><span style="font-family: "Verdana","sans-serif";">Even<span style="mso-spacerun: yes;"> </span>similar browsers application may behave differently based on the Screen resolution/Hardware/Software Configuration<o:p></o:p></span></div><div class="MsoListParagraphCxSpFirst" style="margin-left: 1.0in; mso-add-space: auto;"><br />
</div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 1.5in; mso-add-space: auto; mso-list: l1 level1 lfo4; text-indent: -.25in;"><!--[if !supportLists]--><span style="font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"><span style="mso-list: Ignore;">Ø<span style="font: 7.0pt "Times New Roman";"> </span></span></span><!--[endif]--><b style="mso-bidi-font-weight: normal;"><span style="font-family: "Verdana","sans-serif";">Sites like <o:p></o:p></span></b></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 156.0pt; mso-add-space: auto; mso-list: l0 level1 lfo5; text-indent: -.25in;"><!--[if !supportLists]--><span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">o<span style="font: 7.0pt "Times New Roman";"> </span></span></span><!--[endif]--><span style="font-family: "Verdana","sans-serif";">Http <o:p></o:p></span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 156.0pt; mso-add-space: auto; mso-list: l0 level1 lfo5; text-indent: -.25in;"><!--[if !supportLists]--><span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">o<span style="font: 7.0pt "Times New Roman";"> </span></span></span><!--[endif]--><span style="font-family: "Verdana","sans-serif";">Https <o:p></o:p></span></div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 1.5in; mso-add-space: auto; mso-list: l7 level1 lfo8; text-indent: -.25in;"><!--[if !supportLists]--><span style="font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"><span style="mso-list: Ignore;">Ø<span style="font: 7.0pt "Times New Roman";"> </span></span></span><!--[endif]--><b style="mso-bidi-font-weight: normal;"><span style="font-family: "Verdana","sans-serif";">Number of users like<o:p></o:p></span></b></div><div class="MsoListParagraphCxSpLast" style="margin-left: 2.0in; mso-add-space: auto; mso-list: l7 level2 lfo8; text-indent: -.25in;"><!--[if !supportLists]--><span style="font-family: "Courier New"; mso-fareast-font-family: "Courier New";"><span style="mso-list: Ignore;">o<span style="font: 7.0pt "Times New Roman";"> </span></span></span><!--[endif]--><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">As the numbers of users increases or decreases during normal hours and peak hours the application performance should not degrade<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif";">For example in an online project like <b style="mso-bidi-font-weight: normal;">AP ONLINE</b> <o:p></o:p></span></div><div class="MsoNormal"><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">The employees may be doing different tasks like some may be paying the mobile bills,some may be paying the current bills or some may be just checking there previous bookings they can be related to any thing like on_line reservations of to trains ,buses etc., or checking to the previous paid bills of a particular customer etc.,<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif";">Therefore large number of usage paths are possible and all are supposed to work well. <o:p></o:p></span></div><div class="MsoListParagraph" style="margin-left: 0in; mso-add-space: auto;"><b style="mso-bidi-font-weight: normal;"><span style="color: #c00000; font-family: "Verdana","sans-serif";">Security threats<o:p></o:p></span></b></div><div class="MsoNormal"><b style="mso-bidi-font-weight: normal;"><span style="font-family: "Verdana","sans-serif";">Firewalls: <o:p></o:p></span></b></div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif";">Applications may behave differently across different firewalls. Applications may have certain web services or may operate on different ports that may have been blocked. So the applications need to be tested for these aspects as well. <o:p></o:p></span></div><div class="MsoNormal"><br />
</div><div class="MsoNormal"><b style="mso-bidi-font-weight: normal;"><span style="font-family: "Verdana","sans-serif";">Security Aspects: <o:p></o:p></span></b></div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif";">No compromise in case of the security of the data present on the web pages <o:p></o:p></span></div><div class="MsoListParagraphCxSpFirst" style="margin-left: 0in; mso-add-space: auto;"><br />
</div><div class="MsoListParagraphCxSpMiddle" style="margin-left: 0in; mso-add-space: auto;"><br />
</div><div class="MsoListParagraphCxSpLast" style="margin-left: 0in; mso-add-space: auto;"><b style="mso-bidi-font-weight: normal;"><span style="color: #c00000; font-family: "Verdana","sans-serif";">Types of Users<o:p></o:p></span></b></div><div class="MsoNormal" style="margin-left: 39.0pt; mso-list: l11 level1 lfo13; text-indent: -.25in;"><!--[if !supportLists]--><span style="color: black; font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"><span style="mso-list: Ignore;">§<span style="font: 7.0pt "Times New Roman";"> </span></span></span><!--[endif]--><span style="color: black; font-family: "Verdana","sans-serif";">People with varying backgrounds & technical skills may use the application <o:p></o:p></span></div><div class="MsoNormal" style="margin-left: 39.0pt; mso-list: l11 level1 lfo13; text-indent: -.25in;"><!--[if !supportLists]--><span style="color: black; font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;"><span style="mso-list: Ignore;">§<span style="font: 7.0pt "Times New Roman";"> </span></span></span><!--[endif]--><span style="color: black; font-family: "Verdana","sans-serif";">User friendly options should be provided on the sites which need to be tested<o:p></o:p></span></div><div class="MsoNormal"><br />
</div><div class="MsoNormal"><b style="mso-bidi-font-weight: normal;"><span style="color: #c00000; font-family: "Verdana","sans-serif";">Intranet versus Internet based Applications <o:p></o:p></span></b></div><ul style="margin-top: 0in;" type="square"><li class="MsoNormal" style="mso-list: l9 level1 lfo10;"><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">Intranet based applications generally the number of users will be know earlier therefore the developers can make accurate assumptions about the people accessing the applications <o:p></o:p></span></li>
<li class="MsoNormal" style="mso-list: l9 level1 lfo10;"><span style="font-family: "Verdana","sans-serif";">Also the intranet users can generally access the app from ‘trusted’ sources<o:p></o:p></span></li>
</ul><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif";">While it may be difficult to make similar assumptions for Internet Based Applications <o:p></o:p></span></div><ul style="margin-top: 0in;" type="square"><li class="MsoNormal" style="mso-list: l10 level1 lfo11;"><span style="font-family: "Verdana","sans-serif";">Internet applications the users may need to be authenticated and the more security have to be taken<o:p></o:p></span></li>
</ul><div class="MsoNormal"><br />
</div><div class="MsoNormal"><b style="mso-bidi-font-weight: normal;"><span style="color: #c00000; font-family: "Verdana","sans-serif";">Accessibility:-<o:p></o:p></span></b></div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif";">The supportive alternatives provided to the disabled people should be checked for the web based applications<o:p></o:p></span></div><div class="MsoNormal"><b style="mso-bidi-font-weight: normal;"><span style="color: #c00000; font-family: "Verdana","sans-serif";">Regulatory Compliance/Standards: <o:p></o:p></span></b></div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif";">Depending on the nature of the application and sensitivity of the data captured the applications may have to be tested for relevant Compliance Standards. This is more crucial for Web Based Applications because of their possible exposure to a wide audience. <o:p></o:p></span></div><div class="MsoNormal"><br />
</div><div class="MsoNormal"><b style="mso-bidi-font-weight: normal;"><span style="color: #c00000; font-family: "Verdana","sans-serif";">Technology platforms<o:p></o:p></span></b></div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif";">The behaviour of the application varies from platform to platform as need to be tested in different ways on different platforms <o:p></o:p></span></div>Swarupahttp://www.blogger.com/profile/16143551983203021417noreply@blogger.com0tag:blogger.com,1999:blog-2985268286009373884.post-70539174960114713292010-11-27T12:10:00.000-08:002010-11-27T12:10:24.279-08:00Recording a simple script on Dialog Login with various options to generate the password<div style="font-size: 14px; line-height: 1.8;"><b><span class="Apple-style-span" style="color: red;">Step1 :</span></b> Open QT click o Record ,select "Window Applications" in "Record and Run Settings" and click on "OK"</div><div style="font-size: 14px; line-height: 1.8;"><br />
</div><div style="font-size: 14px; line-height: 1.8;"><b><span class="Apple-style-span" style="color: red;">Step 2 :</span></b> click on Flight Application ,Enter Username,Password and click on "OK".It generates the script as follows</div><div style="font-size: 14px; line-height: 1.8;"><br />
</div><div style="font-size: 14px; line-height: 1.8;"></div>SystemUtil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe"<br />
Dialog("Login").WinEdit("Agent Name:").Set "agent"<br />
Dialog("Login").WinEdit("Password:").SetSecure "4cf162a450b1f22358a30a702947fa15c2d4fe74"<br />
Dialog("Login").WinButton("OK").Click<br />
Window("Flight Reservation").Close<br />
<br />
<br />
<div style="font-size: 14px; line-height: 1.8;"><b><span class="Apple-style-span" style="color: red;">Step 3 :</span></b> Click on "RUN" </div><div style="font-size: 14px; line-height: 1.8;"><br />
</div><div style="font-size: 14px; line-height: 1.8;"><b><span class="Apple-style-span" style="color: red;">To get Encryted password </span></b></div><div style="font-size: 14px; line-height: 1.8;"><br />
</div><div style="font-size: 14px; line-height: 1.8;"><b><span class="Apple-style-span" style="color: blue;">There are 2 other ways other than recording </span></b></div><div style="font-size: 14px; line-height: 1.8;"><b><span class="Apple-style-span" style="color: blue;">1.Using Crypt.Encrypt method</span></b></div><div style="font-size: 14px; line-height: 1.8;"><b><span class="Apple-style-span" style="color: blue;">2.Using the tool Password Encoder</span></b></div><div style="font-size: 14px; line-height: 1.8;"><br />
</div><div style="font-size: 14px; line-height: 1.8;"><span class="Apple-style-span" style="color: red;"><b>Using the Crypt method the script will be as follows</b></span></div><br />
<span class="Apple-style-span" style="font-size: medium;"><span class="Apple-style-span" style="font-size: 14px; line-height: 25px;">SystemUtil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe"</span></span><br />
<span class="Apple-style-span" style="font-size: medium;"><span class="Apple-style-span" style="font-size: 14px; line-height: 25px;">Dialog("Login").WinEdit("Agent Name:").Set "agent"</span></span><br />
<span class="Apple-style-span" style="font-size: medium;"><span class="Apple-style-span" style="font-size: 14px; line-height: 25px;">pwd = crypt.Encrypt("mercury")</span></span><br />
<span class="Apple-style-span" style="font-size: medium;"><span class="Apple-style-span" style="font-size: 14px; line-height: 25px;">Dialog("Login").WinEdit("Password:").SetSecure pwd</span></span><br />
<span class="Apple-style-span" style="font-size: medium;"><span class="Apple-style-span" style="font-size: 14px; line-height: 25px;">Dialog("Login").WinButton("OK").Click</span></span><br />
<span class="Apple-style-span" style="font-size: medium;"><span class="Apple-style-span" style="font-size: 14px; line-height: 25px;">Window("Flight Reservation").Close</span></span><br />
<span class="Apple-style-span" style="font-size: medium;"><span class="Apple-style-span" style="font-size: 14px; line-height: 25px;"><br />
</span></span><br />
<br />
<div style="font-size: 14px; line-height: 1.8;"><b><span class="Apple-style-span" style="color: red;">The steps for the option Password Encoder</span></b></div><div style="font-size: 14px; line-height: 1.8;"><br />
</div><div style="font-size: 14px; line-height: 1.8;"><b><span class="Apple-style-span" style="color: red;">Step a :</span></b> go to start-->Programs-->Quick Test Professional-->Tools-->Password Encoder-->Write the password as Mercury in "password" edit box<br />
<b><span class="Apple-style-span" style="color: red;">Step b :</span></b> Click on Generate ,It will generate the password<br />
<b><span class="Apple-style-span" style="color: red;">Step c</span></b>: Copy and paste it in the script in the required location</div><div style="font-size: 14px; line-height: 1.8;"><br />
</div><div style="font-size: 14px; line-height: 1.8;"><br />
</div>Swarupahttp://www.blogger.com/profile/16143551983203021417noreply@blogger.com0tag:blogger.com,1999:blog-2985268286009373884.post-38334215365381884712010-11-27T09:46:00.000-08:002010-11-27T09:46:46.230-08:00Regular Expression which works for any webpage to count total links present on the page<span class="apple-style-span"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 10.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US;">Dim oLink,Links, TotLinks</span></span><span style="color: blue; font-family: "Verdana","sans-serif"; font-size: 10.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US;"><br />
</span><span class="apple-style-span"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 10.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US;">Set oLink=Description.Create</span></span><span style="color: blue; font-family: "Verdana","sans-serif"; font-size: 10.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US;"><br />
</span><span class="apple-style-span"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 10.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US;">oLink("micclass").value="Link"</span></span><span style="color: blue; font-family: "Verdana","sans-serif"; font-size: 10.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US;"><br />
</span><span class="apple-style-span"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 10.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US;">Set Links=Browser("title:=.*").page("title:=.*").ChildObjects(oLink)</span></span><span style="color: blue; font-family: "Verdana","sans-serif"; font-size: 10.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US;"><br />
</span><span class="apple-style-span"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 10.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US;">TotLinks=Links.count</span></span><span style="color: blue;"><br />
</span><span style="color: blue;"><span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: small;"><span class="Apple-style-span" style="font-size: 13px; line-height: 14px;"></span></span> </span><span class="apple-style-span"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 10.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US;">Reporter.ReportEvent 2,"Res","Total Links are: "&TotLinks</span></span><span style="color: blue; font-family: "Verdana","sans-serif"; font-size: 10.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-family: "Times New Roman"; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US;"><br style="mso-special-character: line-break;" /> <!--[if !supportLineBreakNewLine]--><br style="mso-special-character: line-break;" /> <!--[endif]--></span>Swarupahttp://www.blogger.com/profile/16143551983203021417noreply@blogger.com0tag:blogger.com,1999:blog-2985268286009373884.post-29251184944233800432010-11-27T08:00:00.000-08:002010-11-27T08:00:40.557-08:00Random Numbers in Flight Application<b><span class="Apple-style-span" style="color: red;">STEP1</span></b>: Record a session on Flight Reservation for insert new order.the recorded script is as follows<br />
<br />
<br />
Window("Flight Reservation").Activate<br />
Window("Flight Reservation").WinMenu("Menu").Select "File;New Order"<br />
Window("Flight Reservation").ActiveX("MaskEdBox").Type "121210"<br />
Window("Flight Reservation").WinComboBox("Fly From:").Select "Zurich"<br />
Window("Flight Reservation").WinComboBox("Fly To:").Select "London"<br />
Window("Flight Reservation").WinButton("FLIGHT").Click<br />
Window("Flight Reservation").Dialog("Flights Table").WinButton("OK").Click<br />
Window("Flight Reservation").WinEdit("Name:").Set "swarupa"<br />
Window("Flight Reservation").WinButton("Insert Order").Click<br />
<br />
<span class="Apple-style-span" style="color: red; font-weight: bold;">Step 2: </span>Apply the Concept of Random number to Fly_From and Fly_To as follows<br />
<br />
<br />
Window("Flight Reservation").Activate<br />
Window("Flight Reservation").WinMenu("Menu").Select "File;New Order"<br />
Window("Flight Reservation").ActiveX("MaskEdBox").Type "121210"<br />
Window("Flight Reservation").WinComboBox("Fly From:").Select RandomNumber.Value(0,9)<br />
Window("Flight Reservation").WinComboBox("Fly To:").Select Randomnumber.Value(0,9)<br />
Window("Flight Reservation").WinButton("FLIGHT").Click<br />
Window("Flight Reservation").Dialog("Flights Table").WinButton("OK").Click<br />
Window("Flight Reservation").WinEdit("Name:").Set "sweeya"<br />
Window("Flight Reservation").WinButton("Insert Order").Click<br />
<br />
<b><span class="Apple-style-span" style="color: red;">Note : as there are 10 values in the combo-box i have given the values for Random numbers as 0 for lowest interval and 9 for the highest value</span></b><br />
<br />
<b><span class="Apple-style-span" style="color: red;">Step 3</span></b>: Now RUN the test you can see the application takes Random values for Fly_From and Fly_To every time we execute the scriptSwarupahttp://www.blogger.com/profile/16143551983203021417noreply@blogger.com0tag:blogger.com,1999:blog-2985268286009373884.post-4411539988198307222010-11-21T10:10:00.000-08:002010-11-21T10:11:08.857-08:00ISTQB Free Sample Downloads<h2 class="title">Downloads</h2><div class="widget-content"><div><b>Password of files: </b>istqb</div><div></div><div><b><a href="http://istqbsamplepaper.n18.in/2010/01/istqb-advanced-practitioner-level.html">ISTQB Advanced (Practitioner) Level Practice exams</a> - 3 papers</b></div><span class="Apple-style-span" style="color: #333333; font-family: 'trebuchet ms', verdana, arial, sans-serif; font-size: x-small; line-height: 19px;"><a href="http://sites.google.com/a/n18.in/istqb/sample-paper/istqbsamplepaper.n18.inISTQB-Question-Paper1.pdf?attredirects=0&d=1" style="color: #ff6600; text-decoration: underline;" target="_new"><b>ISTQB Paper 1 - Foundation Level</b></a></span><br />
<div><a href="http://sites.google.com/a/n18.in/istqb/sample-paper/istqbsamplepaper.n18.inISTQB-Question-Paper2.pdf?attredirects=0&d=1" target="_blank"><b>ISTQB Paper 2 - Foundation Level</b></a></div><div><a href="http://sites.google.com/a/n18.in/istqb/sample-paper/istqbsamplepaper.n18.inISTQB-Question-Paper3.pdf?attredirects=0&d=1" target="_blank"><b>ISTQB Paper 3 - Foundation Level</b></a></div><div><a href="http://sites.google.com/a/n18.in/istqb/sample-paper/istqbsamplepaper.n18.inISTQB-Question-Paper4.pdf?attredirects=0&d=1" target="_blank"><b>ISTQB Paper 4 - Foundation Level</b></a></div><div><a href="http://sites.google.com/a/n18.in/istqb/sample-paper/istqbsamplepaper.n18.inISTQB-Question-Paper5.pdf?attredirects=0&d=1" target="_blank"><b>ISTQB Paper 5 - Foundation Level</b></a></div><div><a href="http://sites.google.com/a/n18.in/istqb/sample-paper/istqbsamplepaper.n18.inISTQB-Question-Paper6.pdf?attredirects=0&d=1" target="_blank"><b>ISTQB Paper 6 - Foundation Level</b></a></div><div><a href="http://sites.google.com/a/n18.in/istqb/sample-paper/istqbsamplepaper.n18.inISTQB-Question-Paper7.pdf?attredirects=0&d=1" target="_blank"><b>ISTQB Paper 7 - Foundation Level</b></a></div><div><a href="http://sites.google.com/a/n18.in/istqb/sample-paper/istqbsamplepaper.n18.inISTQB-Question-Paper8.pdf?attredirects=0&d=1" target="_blank"><b>ISTQB Paper 8 - Foundation Level</b></a></div><div><a href="http://sites.google.com/a/n18.in/istqb/sample-paper/istqbsamplepaper.n18.inISTQB-Question-Paper9.pdf?attredirects=0&d=1" target="_blank"><b>ISTQB Paper 9 - Foundation Level</b></a></div><div><a href="http://sites.google.com/a/n18.in/istqb/sample-paper/istqbsamplepaper.n18.inISTQB-Question-Paper10.pdf?attredirects=0&d=1" target="_blank"><b>ISTQB Paper 10 - Foundation Level</b></a></div><div><a href="http://sites.google.com/a/n18.in/istqb/sample-paper/istqbsamplepaper.n18.inISTQB-Question-Paper11.pdf?attredirects=0&d=1" target="_blank"><b>ISTQB Paper 11 - Foundation Level</b></a></div><div><a href="http://sites.google.com/a/n18.in/istqb/sample-paper/istqbsamplepaper.n18.inISTQB-Question-Paper12.pdf?attredirects=0&d=1" target="_blank"><b>ISTQB Paper 12 - Foundation Level</b></a></div><div><a href="http://sites.google.com/a/n18.in/istqb/sample-paper/istqbsamplepaper.n18.inISTQB-Question-Paper13.pdf?attredirects=0&d=1" target="_blank"><b>ISTQB Paper 13 - Foundation Level</b></a></div><div><a href="http://sites.google.com/a/n18.in/istqb/sample-paper/istqbsamplepaper.n18.inISTQB-Question-Paper14.pdf?attredirects=0&d=1" target="_blank"><b>ISTQB Paper 14 - Foundation Level</b></a></div><div><a href="http://sites.google.com/a/n18.in/istqb/sample-paper/istqbsamplepaper.n18.inISTQB-Question-Paper15.pdf?attredirects=0&d=1" target="_blank"><b>ISTQB Paper 15 - Foundation Level</b></a></div><div><a href="http://sites.google.com/a/n18.in/istqb/sample-paper/istqbsamplepaper.n18.inISTQB-Question-Paper16.pdf?attredirects=0&d=1" target="_blank"><b>ISTQB Paper 16 - Foundation Level</b></a></div></div>Swarupahttp://www.blogger.com/profile/16143551983203021417noreply@blogger.com0tag:blogger.com,1999:blog-2985268286009373884.post-35330708119933862662010-11-21T10:03:00.000-08:002010-11-21T10:03:34.832-08:00Testing levels<div style="border-bottom: solid #AAAAAA 1.0pt; border: none; mso-border-bottom-alt: solid #AAAAAA .5pt; mso-element: para-border-div; padding: 0in 0in 2.0pt 0in;"> <div class="MsoNormal" style="border: none; line-height: 9.5pt; margin-bottom: .1in; mso-border-bottom-alt: solid #AAAAAA .5pt; mso-outline-level: 2; mso-padding-alt: 0in 0in 2.0pt 0in; padding: 0in;"><span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 12px; line-height: 24px;">Tests are frequently grouped by where they are added in the software development process, or by the level of specificity of the test.</span></div></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-outline-level: 4;"><b><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Unit Test/</span></b><i><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"> <b style="mso-bidi-font-weight: normal;">component</b></span></i></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-outline-level: 4;"><i><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"><b style="mso-bidi-font-weight: normal;"><br />
</b></span></i></div><div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 2.5pt;"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">The first test in the development process is the unit test. The source code is normally divided into modules, which in turn are divided into smaller units called units. These units have specific behavior. The test done on these units of code is called unit test. Unit test depends upon the language on which the project is developed. Unit tests ensure that each unique path of the project performs accurately to the documented specifications and contains clearly defined inputs and expected results.<o:p></o:p></span></div><div class="MsoNormal" style="line-height: 18.0pt; margin-bottom: 6.0pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt;"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">Unit testing is also called <i>component testing</i>.<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-outline-level: 2;"><b><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: "Segoe UI"; mso-fareast-font-family: "Times New Roman";">Integration testing<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-outline-level: 2;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-outline-level: 2;"><span style="font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Objective of integration testing is to make sure that the interaction of two or more components produces results that satisfy functional requirement in integration testing, test cases are developed with the express<span style="mso-spacerun: yes;"> </span>of exercising the interface between the components integration testing can also be treated as testing assumption of fellow programmer during the coding phase, lots of assumptions are made assumptions can be made for how you will receive data from different components and how you have to pass data to different compo<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-outline-level: 2;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-outline-level: 2;"><b><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: "Segoe UI"; mso-fareast-font-family: "Times New Roman";">Bottom up integration testing<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 12.0pt;"><span style="font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">In bottom up integration testing, module at the lowest level are developed first and other modules which go towards the 'main' program are integrated and tested one at a time bottom up integration also uses test drivers to drive and pass appropriate data to the lower level modules as and when code for other module gets ready, these drivers are replaced with the actual module in this approach, lower level modules are tested extensively thus make sure that highest used module is tested properly<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 12.0pt;"><b><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: "Segoe UI"; mso-fareast-font-family: "Times New Roman";">Top down integration testing</span></b><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-outline-level: 2;"><span style="font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Top down integration testing is an incremental integration testing technique which begins by testing the top level module and and progressively adds in lower level module one by one lower level modules are normally simulated by stubs which mimic functionality of lower level modules as you add lower level code, you will replace stubs with the actual components top down integration can be performed and tested in breadth first or depth firs manner<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-outline-level: 2;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-outline-level: 2;"><b><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: "Segoe UI"; mso-fareast-font-family: "Times New Roman";">Hybrid integration testing<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin-bottom: 7.5pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"><span style="font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Top-down and bottom-up, both the types of testing have their advantages and disadvantages while in top-down integration testing it is very easy to follow the top-down software development process at the same time in bottom-up testing, the code is used mostly is tested repetitively <o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-outline-level: 2;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-outline-level: 2;"><b><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: "Segoe UI"; mso-fareast-font-family: "Times New Roman";">Big bang integration testing<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin-bottom: 7.5pt;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"><span style="font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">In big bang integration testing, individual modules of the programs are not integrated until every thing is ready this approach is seen mostly in inexperienced programmers who rely on 'run it and see' approach in this approach, the program is integrated without any formal integration testing, and then run to ensures that all the components are working properly<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"><span style="font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"><br />
</span></div><div class="MsoNormal" style="line-height: 9.5pt; margin-bottom: .05in; mso-outline-level: 3;"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"><a href="http://en.wikipedia.org/w/index.php?title=Software_testing&action=edit&section=24" title="Edit section: Regression testing"></a><o:p></o:p></span></div><div class="MsoNormal" style="line-height: 9.5pt; margin-bottom: .05in; mso-outline-level: 3;"><b><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">Regression testing</span></b></div><div class="MsoNormal" style="line-height: 9.5pt; margin-bottom: .05in; mso-outline-level: 3;"><b><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"><br />
</span></b></div><div class="MsoNormal" style="line-height: 9.5pt; margin-bottom: .05in; mso-outline-level: 3;"><b><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">(retesting+dependent functionality testing+new CR’S testing ie.,CR[change request] on different builds)<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: 9.5pt; margin-bottom: .05in; mso-outline-level: 3;"><b><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"><br />
</span></b></div><div class="MsoNormal" style="line-height: 9.5pt; margin-bottom: .05in; mso-outline-level: 3;"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-bidi-font-weight: bold; mso-fareast-font-family: "Times New Roman";">Regression testing</span><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"> focuses on finding defects after a major code change has occurred. Specifically, it seeks to uncover software regressions, or old bugs that have come back. Such regressions occur whenever software functionality that was previously working correctly stops working as intended. Typically, regressions occur as anunintended consequences of program changes, when the newly developed part of the software collides with the previously existing code. Common methods of regression testing include re-running previously run tests and checking whether previously fixed faults have re-emerged. The depth of testing depends on the phase in the release process and the risk of the added features. They can either be complete, for changes added late in the release or deemed to be risky, to very shallow, consisting of positive tests on each feature, if the changes are early in the release or deemed to be of low risk.<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-outline-level: 2;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-outline-level: 2;"><b><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: "Segoe UI"; mso-fareast-font-family: "Times New Roman";">System testing<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"><br />
</div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;"><span style="font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">System testing is probably the most important phase of complete testing cycle this phase is started after the completion of other phases like unit, component and integration testing during the system testing phase, non functional testing also comes in to picture and performance, load, stress, scalability all these types of testing are performed in this phase<o:p></o:p></span></div><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-outline-level: 2;"><br />
</div><div class="MsoNormal" style="line-height: 9.5pt; margin-bottom: .05in; mso-outline-level: 3;"><b><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">Acceptance testing(UAT)<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: 18.0pt; margin-bottom: 6.0pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt;"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">Acceptance testing can mean one of two things:<o:p></o:p></span></div><div class="MsoNormal" style="line-height: 18.0pt; margin-bottom: 1.2pt; mso-margin-top-alt: auto;"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"> <b>Smoke test</b> is used as an acceptance test prior to introducing a new build to the main testing process, i.e. before integration or regression.<o:p></o:p></span></div><div class="MsoNormal" style="line-height: 9.5pt; margin-bottom: .05in; mso-margin-top-alt: auto; mso-outline-level: 3;"><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">1.<b>Alpha testing<o:p></o:p></b></span></div><div class="MsoNormal" style="line-height: 18.0pt; margin-bottom: 6.0pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt;"><i><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">Alpha testing</span></i><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"> is simulated or actual operational testing by potential users/customers or an independent test team at the developers' site<o:p></o:p></span></div><div class="MsoNormal" style="line-height: 9.5pt; margin-bottom: .05in; mso-outline-level: 3;"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"><a href="http://en.wikipedia.org/w/index.php?title=Software_testing&action=edit&section=27" title="Edit section: Beta testing"></a><o:p></o:p></span></div><div class="MsoNormal" style="line-height: 9.5pt; margin-bottom: .05in; mso-outline-level: 3;"><b><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">3</span></b><b><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">.Beta testing</span></b><b><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: 18.0pt; margin-bottom: 6.0pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt;"><i><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">Beta testing</span></i><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"> comes after alpha testing. Versions of the software, known as beta versions, are released to a limited audience outside of the programming team. The software is released to groups of people so that further testing can ensure the product has few faults or bugs. Sometimes, beta versions are made available to the open public to increase the feedback field to a maximal number of future users.<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: 6pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt;"><span class="Apple-style-span" style="line-height: 12px;"><b><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"><br />
</span></b></span></div><div class="MsoNormal" style="margin-bottom: 6pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt;"><span class="Apple-style-span" style="line-height: 12px;"><b><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">Software performance testing and load testing/non functional testing</span></b></span></div><div class="MsoNormal" style="line-height: 9.5pt; margin-bottom: .05in; mso-outline-level: 3;"><span class="Apple-style-span" style="color: #00b050; font-family: Verdana, sans-serif; font-size: small;"><span class="Apple-style-span" style="font-size: 12px;"><b><br />
</b></span></span></div><div style="line-height: 10.0pt; margin-bottom: .0001pt; margin: 0in;"><strong><span style="font-family: Verdana, sans-serif; font-size: 9pt;"><span class="Apple-style-span" style="color: red;">Performance testing</span></span></strong><span class="apple-converted-space"><span style="font-family: Verdana, sans-serif; font-size: 9pt;"><span class="Apple-style-span" style="color: red;"> </span></span></span></div><div style="line-height: 10.0pt; margin-bottom: .0001pt; margin: 0in;"><span style="color: #222222; font-family: "Verdana","sans-serif"; font-size: 9.0pt;"><br />
</span></div><div style="line-height: 10.0pt; margin-bottom: .0001pt; margin: 0in;"><span class="apple-converted-space"><span style="font-family: Verdana, sans-serif; font-size: 9pt;"><span class="Apple-style-span" style="color: red;"></span></span></span><span style="color: #222222; font-family: "Verdana","sans-serif"; font-size: 9.0pt;"> Term often used interchangeably with ’stress’ and ‘load’ testing. To check whether system meets performance requirements. Used different performance and load tools to do this.<o:p></o:p></span></div><div style="line-height: 10.0pt; margin-bottom: .0001pt; margin: 0in;"><span style="color: #222222; font-family: "Verdana","sans-serif"; font-size: 9.0pt;"><br />
</span></div><div style="line-height: 10.0pt; margin-bottom: .0001pt; margin: 0in;"><strong><span style="font-family: Verdana, sans-serif; font-size: 9pt;"><span class="Apple-style-span" style="color: red;">Load</span></span></strong><span class="apple-converted-space"><b><span style="font-family: Verdana, sans-serif; font-size: 9pt;"><span class="Apple-style-span" style="color: red;"> </span></span></b></span><strong><span style="font-family: Verdana, sans-serif; font-size: 9pt;"><span class="Apple-style-span" style="color: red;">testing</span></span></strong><span class="apple-converted-space"><span style="font-family: Verdana, sans-serif; font-size: 9pt;"><span class="Apple-style-span" style="color: red;"> </span></span></span><span style="color: #222222; font-family: "Verdana","sans-serif"; font-size: 9.0pt;"> Its a performance testing to check system behavior under load. Testing an application under heavy loads, such as testing of a web site under a range of loads to determine at what point the system’s response time degrades or fails.<o:p></o:p></span></div><div style="line-height: 10.0pt; margin-bottom: .0001pt; margin: 0in;"><span style="color: #222222; font-family: "Verdana","sans-serif"; font-size: 9.0pt;"><br />
</span></div><div style="line-height: 10.0pt; margin-bottom: .0001pt; margin: 0in;"><strong><span style="font-family: Verdana, sans-serif; font-size: 9pt;"><span class="Apple-style-span" style="color: red;">Stress testing</span></span></strong><span style="color: #222222; font-family: "Verdana","sans-serif"; font-size: 9.0pt;"> System is stressed beyond its specifications to check how and when it fails. Performed under heavy load like putting large number beyond storage capacity, complex database queries, continuous input to system or database load.<o:p></o:p></span></div><div style="line-height: 10.0pt; margin-bottom: .0001pt; margin: 0in;"><span style="color: #222222; font-family: "Verdana","sans-serif"; font-size: 9.0pt;"><br />
</span></div><pre><span style="font-family: Verdana, sans-serif; font-size: 9pt;"><span class="Apple-style-span" style="color: red;"><b>Volume testing</b> </span></span><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt;"> Volume Testing belongs to the group of non-functional <o:p></o:p></span></pre><pre><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt;">tests, which are often misunderstood and/or used <o:p></o:p></span></pre><pre><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt;">interchangeably. Volume testing refers to testing a <o:p></o:p></span></pre><pre><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt;">software application with a certain amount of data. This <o:p></o:p></span></pre><pre><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt;">amount can, in generic terms, be the database size or it <o:p></o:p></span></pre><pre><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt;">could also be the size of an interface file that is the <o:p></o:p></span></pre><pre><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt;">subject of volume testing. For example, if you want to <o:p></o:p></span></pre><pre><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt;">volume test your application with a specific database size, <o:p></o:p></span></pre><pre><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt;">you will expand your database to that size and then test <o:p></o:p></span></pre><pre><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt;">the application's performance on it. Another example could <o:p></o:p></span></pre><pre><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt;">be when there is a requirement for your application to <o:p></o:p></span></pre><pre><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt;">interact with an interface file (could be any file such <o:p></o:p></span></pre><pre><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt;">as .dat, .xml); this interaction could be reading and/or <o:p></o:p></span></pre><pre><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt;">writing on to/from the file. You will create a sample file <o:p></o:p></span></pre><pre><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt;">of the size you want and then test the application's <o:p></o:p></span></pre><pre><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt;">functionality with that file in order to test the <o:p></o:p></span></pre><pre><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt;">performance.<o:p></o:p></span></pre><div style="line-height: 10.0pt; margin-bottom: .0001pt; margin: 0in;"><br />
</div><div class="MsoNormal" style="line-height: 9.5pt; margin-bottom: .05in; mso-outline-level: 3;"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"><a href="http://en.wikipedia.org/w/index.php?title=Software_testing&action=edit&section=30" title="Edit section: Stability testing"></a><o:p></o:p></span></div><div class="MsoNormal" style="line-height: 9.5pt; margin-bottom: .05in; mso-outline-level: 3;"><b><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">Stability testing<o:p></o:p></span></b></div><div class="MsoNormal" style="line-height: 18.0pt; margin-bottom: 6.0pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt;"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">Stability testing checks to see if the software can continuously function well in or above an acceptable period. This activity of non-functional software testing is often referred to as load (or endurance) testing.<o:p></o:p></span></div><div class="MsoNormal" style="line-height: 9.5pt; margin-bottom: .05in; mso-outline-level: 3;"><br />
</div><div class="MsoNormal" style="line-height: 9.5pt; margin-bottom: .05in; mso-outline-level: 3;"><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"><a href="http://en.wikipedia.org/w/index.php?title=Software_testing&action=edit&section=32" title="Edit section: Security testing"></a><b>Security testing<o:p></o:p></b></span></div><div class="MsoNormal" style="line-height: 18.0pt; margin-bottom: 6.0pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt;"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">Security testing is essential for software that processes confidential data to prevent system inrrusion by hacking.<o:p></o:p></span></div><div class="MsoNormal" style="line-height: 9.5pt; margin-bottom: .05in; mso-outline-level: 3;"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"><a href="http://en.wikipedia.org/w/index.php?title=Software_testing&action=edit&section=33" title="Edit section: Internationalization and localization"></a><o:p></o:p></span></div><div class="MsoNormal" style="line-height: 18.0pt; margin-bottom: 1.2pt; mso-margin-top-alt: auto;"><b style="mso-bidi-font-weight: normal;"><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">GUI Software Testing</span></b><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">:</span><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"> the testing done on the user interfaces of the project or application is called GUI testing<o:p></o:p></span></div><div class="MsoNormal" style="line-height: 18.0pt; margin-bottom: 1.2pt; margin-left: .25in; mso-list: l0 level1 lfo1; mso-margin-top-alt: auto; tab-stops: list .5in; text-indent: -.25in;"><!--[if !supportLists]--><span style="color: red; font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 9.0pt; mso-fareast-font-family: Wingdings;"><span style="mso-list: Ignore;">§<span style="font: 7.0pt "Times New Roman";"> </span></span></span><!--[endif]--><b style="mso-bidi-font-weight: normal;"><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">Useability testing:- <o:p></o:p></span></b></div><div class="MsoNormal" style="margin-bottom: 6pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt;"><span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: small;"><span class="Apple-style-span" style="font-size: 12px; line-height: 24px;">Usability</span><span class="Apple-style-span" style="font-size: 9pt; line-height: 18pt;"> testing is needed to check if the user interface is easy to use and understand.<o:p></o:p></span></span></div><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">The primary point of usability testing is to provide feedback during the design/development process to ensure that the web site will actually be easy and effective to use and provide valuable information to the users. Four primary elements to measure are:<o:p></o:p></span></div><ul type="square"><li class="MsoNormal" style="color: black; line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><b><span style="color: #00b050; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Ease and effectiveness of navigation</span></b><span style="font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> - Do users find what they need easily. Is there a clear pattern to the navigation that fits easily into the users mental model. Are you links labeled with terms that make sense to your users. (Or, are you speaking in your own private jargon!)<o:p></o:p></span></li>
<li class="MsoNormal" style="color: black; line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><b><span style="color: #00b050; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Usefulness of content</span></b><b><span style="font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> </span></b><span style="font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">- What information do your users want/need? Have you organized the content on each page in such a way that it is easy for your users to quickly find it? Or do they have to read all the fine print while standing on their heads?<o:p></o:p></span></li>
<li class="MsoNormal" style="color: black; line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><b><span style="color: #00b050; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Effectiveness of presentation</span></b><span style="font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> - Did the graphic design, fonts and colors highlight the navigation and content, making the site easier to use? Or did the presentation distract or create a barrier between the user and the information?<o:p></o:p></span></li>
<li class="MsoNormal" style="color: black; line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><b><span style="color: #00b050; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">Task </span></b><b><span style="color: #00b050; font-family: "Verdana","sans-serif"; font-size: 8.0pt; mso-bidi-font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">success </span></b><b><span style="color: #00b050; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";">rate</span></b><span style="font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"> - Were the users able to accomplish the key task they needed/wanted to accomplish. If they were able to complete the task, did they feel satisfied, neutral or angry and frustrated?<o:p></o:p></span></li>
</ul><div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><br />
</div><div style="line-height: 18.0pt; margin-bottom: 6.0pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt;"><b><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;">Security testing</span></b><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;">:</span><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;"> is a process to determine that a information system protects data and maintains functionality as intended.<o:p></o:p></span></div><div class="MsoNormal" style="line-height: 18.0pt; margin-bottom: 6.0pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt;"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">The six basic security concepts that need to be covered by security testing are: confidentiality, integrity, authentication, availability, authorization and non-repudiation. Security testing as a term has a number of different meanings and can be completed in a number of different ways. As such a Security Taxonomy helps us to understand these different approaches and meanings by providing a base level to work from. The concepts covered are as follows <o:p></o:p></span></div><div class="MsoNormal" style="line-height: 18.0pt; margin-bottom: 6.0pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt;"></div><ol><li><span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 12px;"><span class="Apple-style-span" style="color: blue;">Confidentiality</span></span></li>
<li><span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 12px;"><span class="Apple-style-span" style="color: blue;">Integrity</span></span></li>
<li><span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 12px;"><span class="Apple-style-span" style="color: blue;">Authentication</span></span></li>
<li><span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 12px;"><span class="Apple-style-span" style="color: blue;">Authorization</span></span></li>
<li><span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 12px;"><span class="Apple-style-span" style="color: blue;">Availability</span></span></li>
</ol><br />
<b style="mso-bidi-font-weight: normal;"><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: "Segoe UI";">Scalability<span class="apple-converted-space"> </span>testing</span></b><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;"> <a href="http://en.wikipedia.org/wiki/Scalability_testing" title="Scalability testing"></a>:</span><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: "Segoe UI";"> it is an extension of performance testing. The purpose of scalability testing is to identify major workloads and mitigate bottlenecks that can impede the scalability of the application.<o:p></o:p></span><br />
<span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: "Segoe UI";">Use performance testing to establish a baseline against which you can compare future performance tests. As an application is scaled up or out, a comparison of performance test results will indicate the success of scaling the application. When scaling results in degraded performance, it is typically the result of a bottleneck in one or more resources.<o:p></o:p></span><br />
<span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: "Segoe UI";"><br />
</span><br />
<b style="mso-bidi-font-weight: normal;"><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: "Segoe UI";">Sanity Testing and Smoke Testing<o:p></o:p></span></b><br />
<b style="mso-bidi-font-weight: normal;"><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: "Segoe UI";"><br />
</span></b><br />
<div style="margin-left: .5in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;"><!--[if !supportLists]--><span style="color: black; font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 9.0pt; mso-fareast-font-family: Wingdings;"><span style="mso-list: Ignore;">§<span style="font: 7.0pt "Times New Roman";"> <b> </b></span></span></span><!--[endif]--><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Tahoma;"><b>Sanity<span class="apple-converted-space"> </span>testing or Build verification test(BVT) </b></span><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Tahoma;"><b> </b>Whenever we receive abuild from development team the basic features of the application is tested to verify the stability of the appication for further testing.<o:p></o:p></span></div><div style="margin-left: .5in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;"><!--[if !supportLists]--><span style="color: black; font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 9.0pt; mso-fareast-font-family: Wingdings;"><span style="mso-list: Ignore;">§<span style="font: 7.0pt "Times New Roman";"> <b> </b></span></span></span><!--[endif]--><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Tahoma;"><b>Smoke testing </b></span><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Tahoma;"> It is Similar like sanity test this test is conducted to verify are there any issues in Software before releasing to<span class="apple-converted-space"> </span><span class="ilad">the Test</span><span class="apple-converted-space"> </span>Team.<o:p></o:p></span></div><div style="margin-left: .5in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Tahoma;"><br />
</span></div><div style="margin-left: .5in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;"><!--[if !supportLists]--><span style="color: #00b050; font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 9.0pt; mso-fareast-font-family: Wingdings;"><span style="mso-list: Ignore;">§<span style="font: 7.0pt "Times New Roman";"> </span></span></span><!--[endif]--><span style="color: #00b050; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Tahoma;">Sanity testing is done by Test engineer.<o:p></o:p></span></div><div style="margin-left: .5in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;"><span style="color: #00b050; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Tahoma;"><br />
</span></div><div style="margin-left: .5in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;"><!--[if !supportLists]--><span style="color: black; font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 9.0pt; mso-fareast-font-family: Wingdings;"><span style="mso-list: Ignore;">§<span style="font: 7.0pt "Times New Roman";"> </span></span></span><!--[endif]--><span style="color: #00b050; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Tahoma;">Smoke testing is done by Developer or White box engineers.</span><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Tahoma;"><o:p></o:p></span></div><div style="margin-left: .5in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;"><span style="color: #00b050; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Tahoma;"><br />
</span></div><span class="MsoHyperlink"><span style="font-family: Verdana, sans-serif; font-size: 9pt;"><span class="Apple-style-span" style="color: red;"><b>Note</b></span></span><span style="color: #333333; font-family: "Verdana","sans-serif"; font-size: 9.0pt;"> </span></span><span class="apple-style-span"><span style="color: #333333; font-family: "Verdana","sans-serif"; font-size: 9.0pt;">Sanity</span></span><span class="apple-converted-space"><span style="color: #333333; font-family: "Verdana","sans-serif"; font-size: 9.0pt;"> </span></span><span class="apple-style-span"><span style="color: #333333; font-family: "Verdana","sans-serif"; font-size: 9.0pt;">testing is done when the application is deployed into testing for the very first time and in smoke testing only positive scenarios are validated but in sanity testing both the positive and negative scenarios are validated.<o:p></o:p></span></span><br />
<span class="apple-style-span"><span style="color: #333333; font-family: "Verdana","sans-serif"; font-size: 9.0pt;"><br />
</span></span><br />
<pre><b style="mso-bidi-font-weight: normal;"><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;"><a href="http://en.wikipedia.org/wiki/Exploratory_testing" title="Exploratory testing"><span style="color: red;">Exploratory testing</span></a></span></b><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;"> Also called as Adhoc testing or random testing..</span><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt;">When a tester test a application by exploring with his prevoius experience and based on the application tetser writes testcases.Thisn is exploratory testing<o:p></o:p></span></pre><div style="line-height: 18.0pt; margin-bottom: 6.0pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt;"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;"><span style="mso-spacerun: yes;"> </span>The<span class="apple-converted-space"> </span>main advantage of exploratory testing is that less preparation is needed, important bugs are found quickly, and at execution time, the approach tends to be more intellectually stimulating than execution of scripted tests.<o:p></o:p></span></div><div style="line-height: 18.0pt; margin-bottom: 6.0pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt;"><b><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;">Ad hoc testing:</span></b><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;"> </span><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;">is a commonly used term for software testing performed without planning and documentation (but can be applied to early scientific experimental studies).<o:p></o:p></span></div><table border="0" cellpadding="0" class="MsoNormalTable" style="background: #F9F9F9; mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184;"><tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;"> <td style="padding: .75pt .75pt .75pt .75pt;"></td> <td style="padding: 0in 2.4pt 0in 2.4pt;"></td> </tr>
</tbody></table><div class="MsoNormal" style="line-height: 18.0pt; margin-bottom: 6.0pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt;"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">The tests are intended to be run only once, unless a defect is discovered. Adhoc testing is a part of exploratory testing, being the least formal of test methods. In this view, ad hoc testing has been criticized because it isn't structured, but this can also be a strength: important things can be found quickly. It is performed with improvisation, the tester seeks to find bugs with any means that seem appropriate.<o:p></o:p></span></div><pre><b style="mso-bidi-font-weight: normal;"><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Tahoma;">Exhaustive Testing:-</span></b><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt;"> Exhaustive testing means testing the functionality with all <o:p></o:p></span></pre><pre><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt;">possible valid and invalid data.It is not possible to test the functionalities with all <o:p></o:p></span></pre><pre><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt;">valid and invalid data<span style="mso-spacerun: yes;"> </span><o:p></o:p></span></pre><div class="MsoNormal" style="line-height: 18.0pt; margin-bottom: 1.2pt; mso-margin-top-alt: auto;"><span class="apple-style-span"><b style="mso-bidi-font-weight: normal;"><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;"><br />
</span></b></span></div><div class="MsoNormal" style="line-height: 18.0pt; margin-bottom: 1.2pt; mso-margin-top-alt: auto;"><span class="apple-style-span"><b style="mso-bidi-font-weight: normal;"><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;">Reliability </span></b></span><b style="mso-bidi-font-weight: normal;"><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">Testing</span></b><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"> :</span><span class="MsoHyperlink"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;"> </span></span><span class="apple-style-span"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;">The</span></span><span class="apple-converted-space"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;"> </span></span><span class="apple-style-span"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;">purpose of reliability testing is to discover potential problems with the design as early as possible and, ultimately, provide confidence that the system meets its reliability requirements.<o:p></o:p></span></span></div><div class="MsoNormal" style="line-height: 9.0pt;"><br />
</div><div class="MsoNormal" style="line-height: 9.0pt;"><b style="mso-bidi-font-weight: normal;"><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">Installation Testing:- </span></b><span style="color: #333333; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">is one of the most important part of testing activities. Installation is the first interaction of user with our product and it is very important to make sure that user do not have any trouble in installing the software.<o:p></o:p></span></div><div class="MsoNormal" style="line-height: 9.0pt; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 12.0pt;"><span style="color: #333333; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">It becomes even more critical now as there are different means to distribute the software. Instead of traditional method of distributing software in the physical CD format, software can be installed from internet, from a network location or even it can be pushed to the end user's machine.<o:p></o:p></span></div><div class="MsoNormal" style="line-height: 9.0pt; margin-bottom: 12.0pt; margin-left: 0in; margin-right: 0in; margin-top: 12.0pt;"><span style="color: #333333; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"> The type if installation testing you do, will be affected by lots of factors like</span><span style="font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></div><div class="MsoNormal" style="line-height: 10.5pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><span class="Apple-style-span" style="line-height: 24px;"><span class="apple-style-span"><b><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;">Maintenance</span></b></span></span><span class="Apple-style-span" style="line-height: 24px;"><span class="apple-converted-space"><b><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;"> </span></b></span></span><span class="Apple-style-span" style="line-height: 24px;"><span class="apple-style-span"><b><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;">testing</span></b></span></span><span class="Apple-style-span" style="line-height: 24px;"><span class="apple-converted-space"><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;"> </span></span></span><span class="Apple-style-span" style="line-height: 24px;"><span class="apple-style-span"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;">is that testing which is performed to either identify equipment problems, diagnose equipment problems or to confirm that repair measures have been effective. It can be performed at either the system level, the equipment, or the component level recovery testing</span></span></span><span class="Apple-style-span" style="line-height: 24px;"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"> and failover testing.</span></span></div><div style="line-height: 10.0pt; margin-bottom: .0001pt; margin: 0in;"><br />
</div><div style="line-height: 10.0pt; margin-bottom: .0001pt; margin: 0in;"><strong><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt;">Functional</span></strong><span class="apple-converted-space"><b><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt;"> </span></b></span><strong><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt;">testing</span></strong><span class="apple-converted-space"><span style="color: #222222; font-family: "Verdana","sans-serif"; font-size: 9.0pt;"> </span></span><span style="color: #222222; font-family: "Verdana","sans-serif"; font-size: 9.0pt;">– This type of testing ignores the internal parts and focus on the output is as per requirement or not. Black-box type testing geared to functional requirements of an application.<o:p></o:p></span></div><div style="line-height: 10.0pt; margin-bottom: .0001pt; margin: 0in;"><br />
</div><div style="line-height: 10.0pt; margin-bottom: .0001pt; margin: 0in;"><strong><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt;">End-to-end testing</span></strong><span class="apple-converted-space"><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt;"> </span></span><span style="color: #222222; font-family: "Verdana","sans-serif"; font-size: 9.0pt;">– Similar to system testing, involves testing of a complete application environment in a situation that mimics real-world use, such as interacting with a database, using network communications, or interacting with other hardware, applications, or systems if appropriate.<o:p></o:p></span></div><br />
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"><br />
</div>Swarupahttp://www.blogger.com/profile/16143551983203021417noreply@blogger.com0tag:blogger.com,1999:blog-2985268286009373884.post-14958458571560358692010-11-21T09:54:00.000-08:002010-11-21T09:54:52.046-08:00Test case prioritization technique<span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><br />
</span><br />
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; mso-line-height-alt: 9.75pt; mso-outline-level: 3; vertical-align: baseline;"><span class="Apple-style-span" style="color: #cc0000;"><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">How to determine risk: </span></span><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">This is another "it depends" question. Not having any details, there are a few generalized principles.<br />
<br />
* If it is a new application developed from scratch, then everything is equal risk and bugs could be anywhere.<br />
<br />
* If it is a new application developed from existing components/modules, then risks are at the integration level. Each module may work properly but they may not be re-used in the right context or assembled correctly.<br />
<br />
* If it is an existing application that is having new features added, then the new features themselves are the greatest risk<br />
<br />
* If it is a maintenance release (bug fixes only) of an existing application, then the validity of the bug fixes is first</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; mso-line-height-alt: 9.75pt; mso-outline-level: 3; vertical-align: baseline;"><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><br />
</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; mso-line-height-alt: 9.75pt; mso-outline-level: 3; vertical-align: baseline;"><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">To estimate the time taken to test the application?<o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; mso-line-height-alt: 9.75pt; mso-outline-level: 3; vertical-align: baseline;"><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><br />
</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; mso-line-height-alt: 9.75pt; mso-outline-level: 3; vertical-align: baseline;"><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><br />
</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; mso-line-height-alt: 9.75pt; mso-outline-level: 3; vertical-align: baseline;"><span class="apple-converted-space"><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"> </span></span><span class="apple-style-span"><span class="Apple-style-span" style="font-family: Verdana, sans-serif;">No: of uses cases designed for that application , these are straightforward application usages which the customer might be performing .... Believe me there can be many many more use cases which can be derived which the customer might not be very interested ..The idea is to test first those scenarios which are of top priority for the customer.</span></span><span class="apple-converted-space"><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"> </span></span><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><br />
<br />
<span class="apple-style-span">2) There might be cases where many test cases might be performing the same operations based on the interrelation with other cases, identify those and make sure you don't over test your application , test rework can be reduced by identifying redundant test cases ... Prepare a traceability matrix it will give you a clear idea of how requirements are reused in different test cases...</span><o:p></o:p></span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; mso-line-height-alt: 9.75pt; mso-outline-level: 3; vertical-align: baseline;"><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><br />
</span></div><div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; mso-line-height-alt: 9.75pt; mso-outline-level: 3; vertical-align: baseline;"><span class="Apple-style-span" style="font-family: Verdana, sans-serif;"><br />
</span></div><div class="MsoNormal"><br />
</div>Swarupahttp://www.blogger.com/profile/16143551983203021417noreply@blogger.com0tag:blogger.com,1999:blog-2985268286009373884.post-24693765839396660832010-11-21T09:52:00.000-08:002010-11-21T09:52:31.394-08:00Verification Vs Validation<h3 style="margin-bottom: .0001pt; margin: 0in; mso-line-height-alt: 6.0pt; vertical-align: baseline;"><span class="apple-style-span"><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;">Verification</span></span><span class="apple-style-span"><span style="color: #333333; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;">: Are we building it right? (Inspecting the Process of Making the Product)</span></span><span class="apple-converted-space"><span style="color: #333333; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;"> </span></span><span class="apple-converted-space"><span style="color: #333333; font-family: Wingdings; font-size: 9.0pt; mso-ascii-font-family: Verdana; mso-bidi-font-family: Arial; mso-char-type: symbol; mso-hansi-font-family: Verdana; mso-symbol-font-family: Wingdings;"><span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings;">à</span></span></span><span class="apple-converted-space"><span style="color: #333333; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;">dev process<o:p></o:p></span></span></h3><h3 style="margin-bottom: .0001pt; margin: 0in; mso-line-height-alt: 6.0pt; vertical-align: baseline;"><span style="color: #333333; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;"><br />
</span><span class="apple-style-span"><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;">Validation</span></span><span class="apple-style-span"><span style="color: #333333; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;">: Is it built right? (Evaluating the Product)</span></span><span class="apple-converted-space"><span style="color: #333333; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;"> (as per client reqt )</span></span><span class="apple-converted-space"><span style="color: #333333; font-family: Wingdings; font-size: 9.0pt; mso-ascii-font-family: Verdana; mso-bidi-font-family: Arial; mso-char-type: symbol; mso-hansi-font-family: Verdana; mso-symbol-font-family: Wingdings;"><span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings;">à</span></span></span><span class="apple-converted-space"><span style="color: #333333; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;">testing<o:p></o:p></span></span></h3><h3 style="margin-bottom: .0001pt; margin: 0in; mso-line-height-alt: 6.0pt; vertical-align: baseline;"><span class="apple-converted-space"><span style="color: #333333; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;"><o:p> </o:p></span></span></h3><div class="MsoNormal" style="line-height: 18.0pt; margin-bottom: 6.0pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt;"><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">According to the </span><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"><b>Capability Matuarity Model</b></span><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"> <o:p></o:p></span></div><div class="MsoNormal" style="line-height: 18.0pt; margin-bottom: 1.2pt; margin-left: .25in; mso-list: l0 level1 lfo1; mso-margin-top-alt: auto; tab-stops: list .5in; text-indent: -.25in;"><!--[if !supportLists]--><span style="color: black; font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 9.0pt; mso-fareast-font-family: Wingdings;"><span style="mso-list: Ignore;">§<span style="font: 7.0pt "Times New Roman";"> </span></span></span><!--[endif]--><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"><b>Verification</b></span><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">: The process of evaluating software to determine whether the products of a given development phase satisfy the conditions imposed at the start of that phase. [IEEE-STD-610].<o:p></o:p></span></div><div class="MsoNormal" style="line-height: 18.0pt; margin-bottom: 1.2pt; margin-left: .25in; mso-list: l0 level1 lfo1; mso-margin-top-alt: auto; tab-stops: list .5in; text-indent: -.25in;"><!--[if !supportLists]--><span style="color: black; font-family: Wingdings; font-size: 10.0pt; mso-bidi-font-family: Wingdings; mso-bidi-font-size: 9.0pt; mso-fareast-font-family: Wingdings;"><span style="mso-list: Ignore;">§<span style="font: 7.0pt "Times New Roman";"> </span></span></span><!--[endif]--><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"><b>Validation</b></span><span style="color: black; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">: The process of evaluating software during or at the end of the development process to determine whether it satisfies specified requirements. [IEEE-STD-610]<o:p></o:p></span></div><h3 style="margin-bottom: .0001pt; margin: 0in; mso-line-height-alt: 6.0pt; vertical-align: baseline;"><span class="apple-converted-space"><span style="color: #333333; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;"><o:p> </o:p></span></span></h3><h3 style="margin-bottom: .0001pt; margin: 0in; mso-line-height-alt: 6.0pt; vertical-align: baseline;"><span class="apple-converted-space"><span style="color: #333333; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;"> <o:p></o:p></span></span></h3><h3 style="margin-bottom: .0001pt; margin: 0in; mso-line-height-alt: 6.0pt; vertical-align: baseline;"><span style="color: #006699; font-family: "Verdana","sans-serif"; font-size: 9.0pt; mso-bidi-font-family: Arial;">Verification vs Validation: Real life examples........<o:p></o:p></span></h3><div class="MsoNormal"><br />
</div><div class="MsoNormal"><span class="comment-body"><span style="border: none windowtext 1.0pt; color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; line-height: 115%; mso-bidi-font-family: Arial; mso-border-alt: none windowtext 0in; padding: 0in;"><b>Example1:-</b></span></span><span class="comment-body"><span style="border: none windowtext 1.0pt; color: #333333; font-family: "Verdana","sans-serif"; font-size: 9.0pt; line-height: 115%; mso-bidi-font-family: Arial; mso-border-alt: none windowtext 0in; padding: 0in;">Let us suppose, we have to prepare a cup of tea (Project)</span></span><span class="apple-converted-space"><span style="border: none windowtext 1.0pt; color: #333333; font-family: "Verdana","sans-serif"; font-size: 9.0pt; line-height: 115%; mso-bidi-font-family: Arial; mso-border-alt: none windowtext 0in; padding: 0in;"> </span></span><span style="border: none windowtext 1.0pt; color: #333333; font-family: "Verdana","sans-serif"; font-size: 9.0pt; line-height: 115%; mso-bidi-font-family: Arial; mso-border-alt: none windowtext 0in; padding: 0in;"><br />
<span class="comment-body">For that we need water, sugar, teabag,milk(SRS).</span><span class="apple-converted-space"> </span><br />
<span class="comment-body">Now here after making tea (after completion of project).</span><span class="apple-converted-space"> </span><br />
<span class="comment-body">When we say Verification, we verify whether we use all materials in an appropriate manner(acc. to specifications) to prepare tea.</span><span class="apple-converted-space"> </span><br />
<span class="comment-body">When we say Validation, we verify whether the person (Client) likes our tea or not</span><span class="apple-converted-space"> </span><br />
<span class="comment-body">(for the intended person) means hows the taste of tea?<o:p></o:p></span></span></div><div class="MsoNormal"><span style="border: none windowtext 1.0pt; color: #333333; font-family: "Verdana","sans-serif"; font-size: 9.0pt; line-height: 115%; mso-bidi-font-family: Arial; mso-border-alt: none windowtext 0in; padding: 0in;"><span class="comment-body"><br />
</span></span></div><div class="MsoNormal"><span style="border: none windowtext 1.0pt; color: #333333; font-family: "Verdana","sans-serif"; font-size: 9.0pt; line-height: 115%; mso-bidi-font-family: Arial; mso-border-alt: none windowtext 0in; padding: 0in;"><span class="comment-body"><br />
</span></span></div><div class="MsoNormal"><span class="comment-body"><span style="border: none windowtext 1.0pt; color: red; font-family: "Verdana","sans-serif"; font-size: 9.0pt; line-height: 115%; mso-bidi-font-family: Arial; mso-border-alt: none windowtext 0in; padding: 0in;"><b>Example2:-</b></span></span><span class="apple-style-span"><span style="color: #333333; font-family: "Verdana","sans-serif"; font-size: 9.0pt; line-height: 115%; mso-bidi-font-family: Arial;">The only way to validate a race car is in a real race, perhaps under varying conditions or specific conditions like off-road races, oval tracks - 500 laps (endurance and moving in one direction will put stresses on the car that might be difficult to test in a lab)(as per <b>SRS</b>). </span></span></div><div class="MsoNormal"><span class="apple-style-span"><span style="color: #333333; font-family: "Verdana","sans-serif"; font-size: 9.0pt; line-height: 115%; mso-bidi-font-family: Arial;"><br />
</span></span></div><div class="MsoNormal"><span class="apple-style-span"><span style="color: #333333; font-family: "Verdana","sans-serif"; font-size: 9.0pt; line-height: 115%; mso-bidi-font-family: Arial;"><b>Verification </b>of a race car is are all the right parts in the car, have they been built to specification (tolerances, materials, dimensions, etc), does it start, what is it's top speed, breaking distance. </span></span></div><div class="MsoNormal"><span class="apple-style-span"><span style="color: #333333; font-family: "Verdana","sans-serif"; font-size: 9.0pt; line-height: 115%; mso-bidi-font-family: Arial;"><br />
</span></span></div><div class="MsoNormal"><span class="apple-style-span"><span style="color: #333333; font-family: "Verdana","sans-serif"; font-size: 9.0pt; line-height: 115%; mso-bidi-font-family: Arial;">But most manufacturers of racing cars, even though they are built to exacting quality cannot predict how the car will perform in a real race, this is <b>validation </b>in the true sense. Many cars built to specification still fail. The problem with high performance vehicles is that often they can only last for one race and need to be completely rebuilt to ensure top performance and competitiveness. Perhaps high fidelity simulation might help? It is a difficult challenge</span></span><span class="apple-style-span"><span style="color: #333333; font-family: "Arial","sans-serif"; font-size: 6.5pt; line-height: 115%;">.<o:p></o:p></span></span></div><div class="MsoNormal"><span class="apple-style-span"><span style="color: #333333; font-family: "Arial","sans-serif"; font-size: 6.5pt; line-height: 115%;"><br />
</span></span></div><div class="MsoNormal"><span class="apple-style-span"><span style="color: #333333; font-family: "Arial","sans-serif"; font-size: 6.5pt; line-height: 115%;"><br />
</span></span></div><table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; mso-padding-alt: 0in 0in 0in 0in; mso-yfti-tbllook: 1184;"><tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;"> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 221.4pt;" width="295"> <div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-align: justify;"><b><span style="font-family: "Verdana","sans-serif"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";"><span class="Apple-style-span" style="color: red;">Validation</span></span></b><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></div></td> <td style="border-left: none; border: solid windowtext 1.0pt; mso-border-left-alt: inset #ECE9D8 .75pt; padding: 0in 5.4pt 0in 5.4pt; width: 257.4pt;" width="343"> <div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-align: justify;"><b><span style="font-family: "Verdana","sans-serif"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";"><span class="Apple-style-span" style="color: red;">Verification</span></span></b><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></div></td> </tr>
<tr style="mso-yfti-irow: 1;"> <td style="border-top: none; border: solid windowtext 1.0pt; mso-border-top-alt: inset #ECE9D8 .75pt; padding: 0in 5.4pt 0in 5.4pt; width: 221.4pt;" width="295"> <div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-align: justify;"><span style="font-family: "Verdana","sans-serif"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">Am I building the right product(process followed)</span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></div></td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: inset #ECE9D8 .75pt; mso-border-top-alt: inset #ECE9D8 .75pt; padding: 0in 5.4pt 0in 5.4pt; width: 257.4pt;" width="343"> <div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-align: justify;"><span style="font-family: "Verdana","sans-serif"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">Am I building the product right(process following)</span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></div></td> </tr>
<tr style="mso-yfti-irow: 2;"> <td style="border-top: none; border: solid windowtext 1.0pt; mso-border-top-alt: inset #ECE9D8 .75pt; padding: 0in 5.4pt 0in 5.4pt; width: 221.4pt;" width="295"> <div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-align: justify;"><span style="font-family: "Verdana","sans-serif"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">Determining if the system complies with the requirements and performs functions for which it is intended and meets the organization’s goals and user needs. It is traditional and is performed at the end of the project.</span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></div></td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: inset #ECE9D8 .75pt; mso-border-top-alt: inset #ECE9D8 .75pt; padding: 0in 5.4pt 0in 5.4pt; width: 257.4pt;" width="343"> <div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-align: justify;"><span style="font-family: "Verdana","sans-serif"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">The review of interim work steps and interim deliverables during a project to ensure they are acceptable. To determine if the system is consistent, adheres to standards, uses reliable techniques and prudent practices, and performs the selected functions in the correct manner.</span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></div></td> </tr>
<tr style="mso-yfti-irow: 3;"> <td style="border-top: none; border: solid windowtext 1.0pt; mso-border-top-alt: inset #ECE9D8 .75pt; padding: 0in 5.4pt 0in 5.4pt; width: 221.4pt;" width="295"> <div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-align: justify;"><span style="font-family: "Verdana","sans-serif"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">Am I accessing the right data (in terms of the data required to satisfy the requirement)</span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></div></td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: inset #ECE9D8 .75pt; mso-border-top-alt: inset #ECE9D8 .75pt; padding: 0in 5.4pt 0in 5.4pt; width: 257.4pt;" valign="top" width="343"> <div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-align: justify;"><span style="font-family: "Verdana","sans-serif"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">Am I accessing the data right (in the right place; in the right way).</span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></div></td> </tr>
<tr style="mso-yfti-irow: 4;"> <td style="border-top: none; border: solid windowtext 1.0pt; mso-border-top-alt: inset #ECE9D8 .75pt; padding: 0in 5.4pt 0in 5.4pt; width: 221.4pt;" width="295"> <div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-align: justify;"><span style="font-family: "Verdana","sans-serif"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">High level activity</span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></div></td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: inset #ECE9D8 .75pt; mso-border-top-alt: inset #ECE9D8 .75pt; padding: 0in 5.4pt 0in 5.4pt; width: 257.4pt;" width="343"> <div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-align: justify;"><span style="font-family: "Verdana","sans-serif"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">Low level activity</span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></div></td> </tr>
<tr style="mso-yfti-irow: 5;"> <td style="border-top: none; border: solid windowtext 1.0pt; mso-border-top-alt: inset #ECE9D8 .75pt; padding: 0in 5.4pt 0in 5.4pt; width: 221.4pt;" width="295"> <div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-align: justify;"><span style="font-family: "Verdana","sans-serif"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">Performed after a work product is produced against established criteria ensuring that the product integrates correctly into the environment</span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></div></td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: inset #ECE9D8 .75pt; mso-border-top-alt: inset #ECE9D8 .75pt; padding: 0in 5.4pt 0in 5.4pt; width: 257.4pt;" width="343"> <div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-align: justify;"><span style="font-family: "Verdana","sans-serif"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">Performed during development on key artifacts, like walkthroughs, reviews</span><span style="font-family: "Verdana","sans-serif"; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-family: "Verdana","sans-serif"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">and inspections, mentor feedback, training, checklists and standards</span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></div></td> </tr>
<tr style="mso-yfti-irow: 6; mso-yfti-lastrow: yes;"> <td style="border-top: none; border: solid windowtext 1.0pt; mso-border-top-alt: inset #ECE9D8 .75pt; padding: 0in 5.4pt 0in 5.4pt; width: 221.4pt;" width="295"> <div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-align: justify;"><span style="font-family: "Verdana","sans-serif"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">Determination of correctness of the final software product by a development project with respect to the user needs and requirements</span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></div></td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-left-alt: inset #ECE9D8 .75pt; mso-border-top-alt: inset #ECE9D8 .75pt; padding: 0in 5.4pt 0in 5.4pt; width: 257.4pt;" width="343"> <div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-align: justify;"><span style="font-family: "Verdana","sans-serif"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">Demonstration of consistency, completeness, and correctness of the software at each stage and between each stage of the development life cycle.</span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></div></td> </tr>
</tbody></table><div class="MsoNormal"><br />
</div>Swarupahttp://www.blogger.com/profile/16143551983203021417noreply@blogger.com0tag:blogger.com,1999:blog-2985268286009373884.post-7791028606353590742010-10-03T03:51:00.001-07:002010-10-03T03:51:07.357-07:00The Systems Development Life Cycle (SDLC) or Software Development Life Cycle<div class="wlWriterEditableSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:56ea8bb7-de62-4b95-90d6-834a69e1f7c3" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">swarupa Tags: <a href="http://www.example.com/Creatd+By+Swarupa" rel="tag">Creatd By Swarupa</a></div> <p>The Systems Development Life Cycle (SDLC), or Software Development Life Cycle in systems engineering, information systems and software engineering, is the process of creating or altering systems, and the models and methodologies that people use to develop these systems. The concept generally refers to computer or information systems. <p>The System Development Life Cycle framework provides system designers and developers to follow a sequence of activities. It consists of a set of steps or phases in which each phase of the SDLC uses the results of the previous one. <p>(scartch ,enhancements(changes or improvements,testing,maintenance) <p>SDLC phases <p>1.feasibility study/analysis (BA’s PM,QA) <p>2.requirements specification(BA’S PM,QA) <p>3.design(PM,PL) <p>4.coding(DEV) <p>5.testing(tester,TL,QA) <p>6.maintenance(DEV,TEST,TL,PM) <p>Computer systems are complex and often (especially with the recent rise of Service-Oriented Architecture) link multiple traditional systems potentially supplied by different software vendors. <p>Systems development phases <p> Project planning, feasibility study: Establishes a high-level view of the intended project and determines its goals. <p> Systems analysis, requirements definition: Refines project goals into defined functions and operation of the intended application. Analyzes end-user information needs. <p> Systems design: Describes desired features and operations in detail, including screen layouts, business rules, process diagrams, pseudo code and other documentation. <p> Implementation/Coding: The real code is written here. <p> Integration and Testing: Brings all the pieces together into a special testing environment, then checks for errors, bugs and interoperability. <p> Acceptance, installation, deployment: The final stage of initial development, where the software is put into production and runs actual business. <p> Maintenance: What happens during the rest of the software's life: changes, correction, additions, moves to a different computing platform and more. This, the least glamorous and perhaps most important step of all, goes on seemingly forever. <p>In the following example (see picture) these stage of the Systems Development Life Cycle are divided in ten steps from definition to creation and modification of IT work products: <p> </p> <p> <a href="http://lh4.ggpht.com/_Ccx1jEouiW0/TKhgEXYCw-I/AAAAAAAAAMQ/vChdd3dGTjY/s1600-h/clip_image002%5B20%5D.jpg"><img title="clip_image002" style="border-right: 0px; border-top: 0px; display: inline; margin-left: 0px; border-left: 0px; margin-right: 0px; border-bottom: 0px" height="405" alt="clip_image002" src="http://lh4.ggpht.com/_Ccx1jEouiW0/TKhgGTtiKVI/AAAAAAAAAMU/PlsB3L6Sn8Q/clip_image002_thumb%5B17%5D.jpg?imgmax=800" width="644" align="left" border="0"></a></p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p>The tenth phase occurs when the system is disposed of and the task performed is either eliminated or transferred to other systems. <p>Not every project will require that the phases be sequentially executed. However, the phases are interdependent. Depending upon the size and complexity of the project, phases may be combined or may overlap.[6] <p>1.System analysis <p>The goal of system analysis is to determine where the problem is in an attempt to fix the system. This step involves breaking down the system in different pieces to analyze the situation, analyzing project goals, breaking down what needs to be created and attempting to engage users so that definite requirements can be defined. Requirements analysis sometimes requires individuals/teams from client as well as service provider sides to get detailed and accurate requirements....often there has to be a lot of communication to and from to understand these requirements. Requirement gathering is the most crucial aspect as many times communication gaps arise in this phase and this leads to validation errors and bugs in the software program. <p>2.Design <p>In systems design the design functions and operations are described in detail, including screen layouts, business rules, process diagrams and other documentation. The output of this stage will describe the new system as a collection of modules or subsystems. <p>The design stage takes as its initial input the requirements identified in the approved requirements document. For each requirement, a set of one or more design elements will be produced as a result of interviews, workshops, and/or prototype efforts. <p>Design elements describe the desired software features in detail, and generally include functional hierarchy diagrams, screen layout diagrams, tables of business rules, business process diagrams, pseudo code, and a complete entity-relationship diagram with a full data dictionary. These design elements are intended to describe the software in sufficient detail that skilled programmers may develop the software with minimal additional input design. <p>3.Implementation <p>Modular and subsystem programming code will be accomplished during this stage. Unit testing and module testing are done in this stage by the developers. This stage is intermingled with the next in that individual modules will need testing before integration to the main project. <p>4.Testing <p>The code is tested at various levels in software testing. Unit, system and user acceptance testing are often performed. This is a grey area as many different opinions exist as to what the stages of testing are and how much if any iteration occurs. Iteration is not generally part of the waterfall model, but usually some occur at this stage. <p>Below are the following types of testing: <p> Unit testing <p> System testing <p> Integration testing <p> Black box testing <p> White box testing <p> Regression testing <p> Automation testing <p> User acceptance testing <p> Performance testing <p> Production process that ensures that the program performs the intended task. <p>5.Operations and maintenance <p>The deployment of the system includes changes and enhancements before the decommissioning or sunset of the system. Maintaining the system is an important aspect of SDLC. As key personnel change positions in the organization, new changes will be implemented, which will require system updates. Swarupahttp://www.blogger.com/profile/16143551983203021417noreply@blogger.com0tag:blogger.com,1999:blog-2985268286009373884.post-38320173152624266512010-09-18T06:48:00.001-07:002010-09-19T21:15:54.250-07:00QTP Environment Variables<div class="wlWriterEditableSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:2702b594-2fe7-455c-9e90-a72fb74a7f23" style="display: inline; float: none; margin: 0px; padding: 0px;">swarupa Tags: <a href="http://www.example.com/created+by+swarupa" rel="tag">created by swarupa</a></div>There are 3 types of Environment Variables<br />
<b><span style="color: red;">1.Built-In</span></b><br />
<b><span style="color: red;">2.Internal</span></b><br />
<b><span style="color: red;">3.External</span></b><br />
<b><span style="color: red;">Built-In :-</span></b>These are predefine variables in Quick Test.They can be viewed under File—>Settings—>Environments Variables.They can be used to know the property values of the corresponding property names.<br />
<b>Example:-</b> The following are few of the list of environment variables.<br />
OS = give the Operating System currently used on the system<br />
OSVersion = gives the Operating System version number<br />
TestName = gives the current test name that is open<br />
ProductDir = Folder path where the product is installed<br />
1.Process to use Built-In Environment variables<br />
go to Files—>Settings—>Environment the below window opens showing the list of all Built-In variables<br />
<br />
<a href="http://lh3.ggpht.com/_Ccx1jEouiW0/TJTCzzsfhpI/AAAAAAAAAJA/kjSCGCACkgY/s1600-h/image8.jpg"><img alt="image" border="0" height="322" src="http://lh3.ggpht.com/_Ccx1jEouiW0/TJTC16pru4I/AAAAAAAAAJE/BCRxuUpuxy8/image_thumb2.jpg?imgmax=800" style="border-width: 0px; display: inline;" title="image" width="400" /></a> <br />
remember any property name for which you want to see the corresponding value<br />
<b>Example1:-</b><br />
a=Environment("ProductDir")<br />
MsgBox a <br />
when you run the above line of script in QT the <b>output</b> will be as follows<br />
<a href="http://lh3.ggpht.com/_Ccx1jEouiW0/TJTC3NZy_zI/AAAAAAAAAJI/1dCBuCL5UOE/s1600-h/image11.jpg"><img alt="image" border="0" height="113" src="http://lh3.ggpht.com/_Ccx1jEouiW0/TJTC4nTQIjI/AAAAAAAAAJM/Q_g3w98A1-I/image_thumb3.jpg?imgmax=800" style="border-width: 0px; display: inline;" title="image" width="244" /></a> <br />
<b>Example2:-</b><br />
a=Environment("ProductName")<br />
MsgBox a <br />
<b>output:- </b> <br />
<a href="http://lh4.ggpht.com/_Ccx1jEouiW0/TJTC5BzbbnI/AAAAAAAAAJQ/Wbx9vBE4ToE/s1600-h/image14.jpg"><img alt="image" border="0" height="132" src="http://lh3.ggpht.com/_Ccx1jEouiW0/TJTC5lDc-TI/AAAAAAAAAJU/LP5ZNhx85uQ/image_thumb4.jpg?imgmax=800" style="border-width: 0px; display: inline;" title="image" width="162" /></a> <br />
<b><span style="color: red;">Note :-</span></b> The product names mentioned in QT should be written in the same as gives(case-sensitive) other wise you will get error like below<br />
a=Environment("Productname")<br />
MsgBox a <br />
<b>output</b><br />
<a href="http://lh3.ggpht.com/_Ccx1jEouiW0/TJTC6qusJsI/AAAAAAAAAJY/rz9zksrflv4/s1600-h/image17.jpg"><img alt="image" border="0" height="114" src="http://lh6.ggpht.com/_Ccx1jEouiW0/TJTC7fSYPZI/AAAAAAAAAJc/9GDUZEORiT0/image_thumb5.jpg?imgmax=800" style="border-width: 0px; display: inline;" title="image" width="400" /></a> <br />
<span style="color: red;"><b>Internal Environment Variables:-</b></span><br />
go to file—>settings—>Environment—>click on the dropdown box it will be showing you the option “User-defined variables” like below window<br />
<a href="http://lh4.ggpht.com/_Ccx1jEouiW0/TJTC8xgojmI/AAAAAAAAAJg/vqGgxbPhUXQ/s1600-h/image20.jpg"><img alt="image" border="0" height="322" src="http://lh6.ggpht.com/_Ccx1jEouiW0/TJTC96fmVmI/AAAAAAAAAJk/gOsyg1UmUDM/image_thumb6.jpg?imgmax=800" style="border-width: 0px; display: inline;" title="image" width="400" /></a> <br />
select “user-defined”—>click on green + symbol the below window opens –>enter the Name = x and Value = Welcome to the world of Automation—>click on OK—>OK—>it will be showing you the created “internal “ Environment variable.<br />
<a href="http://lh5.ggpht.com/_Ccx1jEouiW0/TJTC-fS_SkI/AAAAAAAAAJo/ZPOGEkP57mY/s1600-h/image%5B2%5D.jpg"><img alt="image" border="0" height="178" src="http://lh5.ggpht.com/_Ccx1jEouiW0/TJTC-9cd0eI/AAAAAAAAAJs/sxBvcZPWiKo/image_thumb.jpg?imgmax=800" style="border: 0px none; display: inline;" title="image" width="243" /></a> <a href="http://lh6.ggpht.com/_Ccx1jEouiW0/TJTDAe3AY9I/AAAAAAAAAJw/ivpTUcB_sZE/s1600-h/image%5B5%5D.jpg"><img alt="image" border="0" height="197" src="http://lh5.ggpht.com/_Ccx1jEouiW0/TJTDBV3XcTI/AAAAAAAAAJ0/QorCK1tf5YM/image_thumb%5B1%5D.jpg?imgmax=800" style="border: 0px none; display: inline;" title="image" width="244" /></a> <br />
go to Expert view in QT and the below line of script<br />
a=Environment("x")<br />
MsgBox a <br />
<b>output:-</b> <br />
<a href="http://lh3.ggpht.com/_Ccx1jEouiW0/TJTDCkDQm2I/AAAAAAAAAJ4/a3w-l4fZxEo/s1600-h/image%5B8%5D.jpg"><img alt="image" border="0" height="131" src="http://lh5.ggpht.com/_Ccx1jEouiW0/TJTDDW2nhoI/AAAAAAAAAJ8/ikUiBiCOfMo/image_thumb%5B2%5D.jpg?imgmax=800" style="border: 0px none; display: inline;" title="image" width="244" /></a> <br />
<b><span style="color: red;">Note :-</span></b> There is no restriction on creating the number of environment variables <br />
<b><span style="color: red;">External Environment variables:-</span></b> <br />
Step1: <br />
open Notepad and the following lines of code(case-sensitive) <br />
<Environment> <br />
<Variable> <br />
<Name>City</Name> <br />
<Value>HYDERABAD</Value> <br />
</Variable> <br />
<Variable> <br />
<Name>Area</Name> <br />
<Value>Cyber-City</Value> <br />
</Variable> <br />
</Environment> <br />
Note :- We can create any number of variables in XML file <br />
save the above file as xml .i have saved it as “address.xml” file in “d” drive <br />
Step2:- <br />
Go to Files—>Settings—>Environment->user-defined—>select the checkbox “Load variables and values from External file” and at “file” browse and select the location where you have selected the “address.xml” file –> in the below window it is showing the external environment variables added in blue font—>click on apply-->OK <br />
<a href="http://lh5.ggpht.com/_Ccx1jEouiW0/TJTDEycBzFI/AAAAAAAAAKA/MdhINYHa9_Y/s1600-h/image%5B11%5D.jpg"><img alt="image" border="0" height="322" src="http://lh6.ggpht.com/_Ccx1jEouiW0/TJTDFko7XfI/AAAAAAAAAKE/k7UKj-7VuF4/image_thumb%5B3%5D.jpg?imgmax=800" style="border-width: 0px; display: inline;" title="image" width="400" /></a> <br />
Step3:- <br />
in expert view write the below line of script <br />
a=Environment("Area")<br />
MsgBox a <br />
<b>output:-</b> <br />
<a href="http://lh5.ggpht.com/_Ccx1jEouiW0/TJTDGLAcBnI/AAAAAAAAAKI/lBZxIISX3OI/s1600-h/image%5B14%5D.jpg"><img alt="image" border="0" height="132" src="http://lh5.ggpht.com/_Ccx1jEouiW0/TJTDGqPiLNI/AAAAAAAAAKM/o_zncqJ5334/image_thumb%5B4%5D.jpg?imgmax=800" style="border: 0px none; display: inline;" title="image" width="122" /></a> <br />
a=Environment("City")<br />
MsgBox a <br />
<b>output:-</b> <br />
<a href="http://lh3.ggpht.com/_Ccx1jEouiW0/TJTDHLjyj8I/AAAAAAAAAKQ/QUKGQnuwmoI/s1600-h/image%5B17%5D.jpg"><img alt="image" border="0" height="132" src="http://lh4.ggpht.com/_Ccx1jEouiW0/TJTDHzostfI/AAAAAAAAAKU/1oUiWGd0Ct0/image_thumb%5B5%5D.jpg?imgmax=800" style="border: 0px none; display: inline;" title="image" width="122" /></a> <br />
<b>Example </b>:-External Environment Variables for Flight application <br />
step1:- <br />
Record the script for login in QT it will generate the script as follows <br />
SystemUtil.Run "C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe","","C:\Program Files\HP\QuickTest Professional\samples\flight\app\","open"<br />
Dialog("Login").WinEdit("Agent Name:").Set "agent"<br />
Dialog("Login").WinEdit("Password:").SetSecure "4c94b515b5ade453a27b0162cb431a4b265d2546"<br />
Dialog("Login").WinButton("OK").Click<br />
Window("Flight Reservation").Close <br />
Step2:- <br />
go to Files—>Settings—>Environment—>user-defined—>and environment variables as follows <br />
<a href="http://lh6.ggpht.com/_Ccx1jEouiW0/TJTDIrhPXxI/AAAAAAAAAKY/2embRVH1iP0/s1600-h/image%5B20%5D.jpg"><img alt="image" border="0" height="178" src="http://lh3.ggpht.com/_Ccx1jEouiW0/TJTDJkqoItI/AAAAAAAAAKc/Oqe1H-gkK5g/image_thumb%5B6%5D.jpg?imgmax=800" style="border: 0px none; display: inline;" title="image" width="243" /></a> <a href="http://lh4.ggpht.com/_Ccx1jEouiW0/TJTDKKXzG9I/AAAAAAAAAKg/R2GLWOknfUY/s1600-h/image%5B23%5D.jpg"><img alt="image" border="0" height="178" src="http://lh5.ggpht.com/_Ccx1jEouiW0/TJTDK9B9b4I/AAAAAAAAAKk/bv7jgY6iVc4/image_thumb%5B7%5D.jpg?imgmax=800" style="border: 0px none; display: inline;" title="image" width="243" /></a> <br />
<a href="http://lh4.ggpht.com/_Ccx1jEouiW0/TJTDMzX0F2I/AAAAAAAAAKo/tIW-fXn38Cg/s1600-h/image%5B26%5D.jpg"><img alt="image" border="0" height="322" src="http://lh6.ggpht.com/_Ccx1jEouiW0/TJTDNgK_hcI/AAAAAAAAAKs/mem_Nik7wQs/image_thumb%5B8%5D.jpg?imgmax=800" style="border-width: 0px; display: inline;" title="image" width="400" /></a> <br />
click on apply—>OK <br />
Step2:- <br />
Go to expert view in QT <br />
do the following changes in the generated script <br />
agn = Environment.Value("agentname")<br />
pwd = Environment.Value("password")<br />
SystemUtil.Run "C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe","","C:\Program Files\HP\QuickTest Professional\samples\flight\app\","open"<br />
Dialog("Login").WinEdit("Agent Name:").Set agn<br />
Dialog("Login").WinEdit("Password:").Set pwd<br />
Dialog("Login").WinButton("OK").Click<br />
Window("Flight Reservation").Close <br />
Note :- In Environment.value() the values created internal should match the values given in the script <br />
step3:- <br />
Run now it will execute with the values you have given under environment tab <br />
<b><span style="color: red;">External:-</span></b> <br />
step A:- <br />
create login.xml file as follows <br />
<a href="http://www.blogger.com/post-edit.g?blogID=2985268286009373884&postID=3832017315262426651#">-</a> <Environment> <br />
<a href="http://www.blogger.com/post-edit.g?blogID=2985268286009373884&postID=3832017315262426651#">-</a> <Variable> <br />
<Name>agn</Name> <br />
<Value>swarupa</Value> <br />
</Variable> <br />
<a href="http://www.blogger.com/post-edit.g?blogID=2985268286009373884&postID=3832017315262426651#">-</a> <Variable> <br />
<Name>pwd</Name> <br />
<Value>mercury</Value> <br />
</Variable> <br />
</Environment> <br />
step B :- write the below line of code in QT Expert View <br />
agn = Environment.Value("agentname")<br />
pwd = Environment.Value("password")<br />
SystemUtil.Run "C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe","","C:\Program Files\HP\QuickTest Professional\samples\flight\app\","open"<br />
Dialog("Login").WinEdit("Agent Name:").Set agn<br />
Dialog("Login").WinEdit("Password:").Set pwd<br />
Dialog("Login").WinButton("OK").Click<br />
Window("Flight Reservation").Close <br />
Step C :- <br />
Go to Files—>Settings—>Environment->user-defined—>select the checkbox “Load variables and values from External file” and at “file” browse and select the location where you have selected the “address.xml” file –> in the below window it is showing the external environment variables added in blue font—>click on apply—>OK it show as follows <br />
<a href="http://lh5.ggpht.com/_Ccx1jEouiW0/TJTDPCTA7oI/AAAAAAAAAKw/oM0mH38LTnk/s1600-h/image%5B32%5D.jpg"><img alt="image" border="0" height="322" src="http://lh3.ggpht.com/_Ccx1jEouiW0/TJTDP1R_oFI/AAAAAAAAAK0/EEBknm5hrWE/image_thumb%5B10%5D.jpg?imgmax=800" style="border-width: 0px; display: inline;" title="image" width="400" /></a> <br />
step D :- <br />
Run <br />
it will execute with agentname as swarupa and password as mercury as mentioned in the xml file <br />
<b><span style="color: red;">LoadFromFile:-</span></b> <br />
we can direclty specify the file path like below in QT and run <br />
Environment.LoadFromFile( "D:\login3.xml")<br />
agn = Environment.Value("agentname")<br />
pwd = Environment.Value("password")<br />
SystemUtil.Run "C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe","","C:\Program Files\HP\QuickTest Professional\samples\flight\app\","open"<br />
Dialog("Login").WinEdit("Agent Name:").Set agn<br />
Dialog("Login").WinEdit("Password:").Set pwd<br />
Dialog("Login").WinButton("OK").Click<br />
Window("Flight Reservation").CloseSwarupahttp://www.blogger.com/profile/16143551983203021417noreply@blogger.com0tag:blogger.com,1999:blog-2985268286009373884.post-61855463004916201562010-09-14T10:18:00.001-07:002010-09-18T04:34:46.973-07:00How To Parameterize Radio Button<span style="font-size: small;">Go to Flight Reservation Window-->start recording for “New Order” the below lines of script is generated</span> <br />
<a href="http://lh6.ggpht.com/_Ccx1jEouiW0/TI-uLgo0C2I/AAAAAAAAAIQ/f9WqOhSmn9c/s1600-h/image%5B2%5D.png"><span style="font-size: small;"><img alt="image" border="0" height="319" src="http://lh4.ggpht.com/_Ccx1jEouiW0/TI-uM9JtdpI/AAAAAAAAAIU/aEV6jImmEAY/image_thumb.png?imgmax=800" style="border-bottom-color: initial; border-bottom-style: initial; border-bottom-width: 0px; border-left-color: initial; border-left-style: initial; border-left-width: 0px; border-right-color: initial; border-right-style: initial; border-right-width: 0px; border-top-color: initial; border-top-style: initial; border-top-width: 0px; display: inline;" title="image" width="400" /></span></a><span style="font-size: small;"> </span> <br />
<span style="font-size: small;">Window("Flight Reservation").Activate</span> <br />
<span style="font-size: small;">Window("Flight Reservation").WinMenu("Menu").Select "File;New Order"</span> <br />
<span style="font-size: small;">Window("Flight Reservation").ActiveX("MaskEdBox").Type "121210"</span> <br />
<span style="font-size: small;">Window("Flight Reservation").WinComboBox("Fly From:").Select "London"</span> <br />
<span style="font-size: small;">Window("Flight Reservation").WinComboBox("Fly To:").Select "Los Angeles"</span> <br />
<span style="font-size: small;">Window("Flight Reservation").WinButton("FLIGHT").Click</span> <br />
<span style="font-size: small;">Window("Flight Reservation").Dialog("Flights Table").WinButton("OK").Click</span> <br />
<span style="font-size: small;">Window("Flight Reservation").WinEdit("Name:").Set "mohit"</span> <br />
<span style="font-size: small;">Window("Flight Reservation").WinRadioButton("First").Set</span> <br />
<span style="font-size: small;">Window("Flight Reservation").WinEdit("Tickets:").Set "3"</span> <br />
<span style="font-size: small;">Window("Flight Reservation").WinButton("Insert Order").Click</span> <br />
<span style="font-size: small;">Step 2:</span> <br />
<span style="font-size: small;">To parameterize the radio button</span> <br />
<span style="font-size: small;">Go to object repository -->the below window opens -->click on first--> click on the symbol -->It opens the second window--> enter column name--> select “location in data table -->click on “OK”</span> <br />
<a href="http://lh5.ggpht.com/_Ccx1jEouiW0/TI-uNwcC20I/AAAAAAAAAIY/RRkNy9tLAyY/s1600-h/clip_image005%5B3%5D.jpg"><span style="font-size: small;"><img alt="clip_image005" border="0" height="192" src="http://lh4.ggpht.com/_Ccx1jEouiW0/TI-uOmkCS8I/AAAAAAAAAIc/nKjyHA24Vfw/clip_image005_thumb.jpg?imgmax=800" style="border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline;" title="clip_image005" width="244" /></span></a><a href="http://lh3.ggpht.com/_Ccx1jEouiW0/TI-uPlNBkII/AAAAAAAAAIg/HKimPrUBN2w/s1600-h/clip_image007%5B3%5D.jpg"><span style="font-size: small;"><img alt="clip_image007" border="0" height="244" src="http://lh6.ggpht.com/_Ccx1jEouiW0/TI-uQYs1QnI/AAAAAAAAAIk/xx7mcYyrnSc/clip_image007_thumb.jpg?imgmax=800" style="border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline;" title="clip_image007" width="183" /></span></a> <br />
<span style="font-size: small;">We can see the below change in QT</span> <br />
<a href="http://lh5.ggpht.com/_Ccx1jEouiW0/TI-uRap4qVI/AAAAAAAAAIo/_7t6XYkHbKA/s1600-h/clip_image009%5B3%5D.jpg"><span style="font-size: small;"><img alt="clip_image009" border="0" height="252" src="http://lh5.ggpht.com/_Ccx1jEouiW0/TI-uSBbdgKI/AAAAAAAAAIs/JTRYECuAGK8/clip_image009_thumb.jpg?imgmax=800" style="border-bottom-color: initial; border-bottom-style: initial; border-bottom-width: 0px; border-left-color: initial; border-left-style: initial; border-left-width: 0px; border-right-color: initial; border-right-style: initial; border-right-width: 0px; border-top-color: initial; border-top-style: initial; border-top-width: 0px; display: inline;" title="clip_image009" width="400" /></span></a> <br />
<span style="font-size: small;">Enter the three values in data table under column name “Tickets_Types ” as </span> <br />
<span style="font-size: small;">First</span> <br />
<span style="font-size: small;">Economy</span> <br />
<span style="font-size: small;">Business</span> <br />
<b><span style="color: red; font-size: small;">NOTE:- all the above names of the radio buttons should be given in the same way as given the Flight Reservation Page “Case-sensitive” other wise QT won’t recognize and generates a run time error as </span></b> <br />
<b><a href="http://lh4.ggpht.com/_Ccx1jEouiW0/TI-uTGJQb3I/AAAAAAAAAIw/S__u26yIIkA/s1600-h/clip_image011%5B3%5D.jpg"><span style="font-size: small;"><img alt="clip_image011" border="0" height="137" src="http://lh3.ggpht.com/_Ccx1jEouiW0/TI-uT81IEjI/AAAAAAAAAI0/jmEzLSxz-c0/clip_image011_thumb.jpg?imgmax=800" style="border-bottom-color: initial; border-bottom-style: initial; border-bottom-width: 0px; border-left-color: initial; border-left-style: initial; border-left-width: 0px; border-right-color: initial; border-right-style: initial; border-right-width: 0px; border-top-color: initial; border-top-style: initial; border-top-width: 0px; display: inline;" title="clip_image011" width="400" /></span></a><span style="color: red; font-size: small;">try giving radio button name “First” as “first” and see .</span></b> <br />
<span style="font-size: small;">Now run and see .It will execute the script for all the three values one at a time giving us three different iterations in “Results “</span> <br />
<a href="http://lh4.ggpht.com/_Ccx1jEouiW0/TI-uVe7HwPI/AAAAAAAAAI4/ZNym7zhcjNs/s1600-h/clip_image013%5B3%5D.jpg"><span style="font-size: small;"><img alt="clip_image013" border="0" height="252" src="http://lh6.ggpht.com/_Ccx1jEouiW0/TI-uWFZSxRI/AAAAAAAAAI8/I0K6uu9FCbU/clip_image013_thumb.jpg?imgmax=800" style="border-bottom-color: initial; border-bottom-style: initial; border-bottom-width: 0px; border-left-color: initial; border-left-style: initial; border-left-width: 0px; border-right-color: initial; border-right-style: initial; border-right-width: 0px; border-top-color: initial; border-top-style: initial; border-top-width: 0px; display: inline;" title="clip_image013" width="400" /></span></a> <br />
<span style="font-size: small;"></span><br />
<span style="font-size: small;"></span>Swarupahttp://www.blogger.com/profile/16143551983203021417noreply@blogger.com1tag:blogger.com,1999:blog-2985268286009373884.post-41763717664706676912010-09-13T11:22:00.001-07:002010-09-13T11:22:37.371-07:00Descriptive Programming vs Object Repository : Which is better?<p> <p>The answer isn’t simple. <p><b>1.</b> In Expert View, DP and OR statements are written in the following manner: <p>'OR <p>Browser( "Google" ).Page( "Google" ).WebEdit( "q" ).Set "Google Search" <p>'DP <p>Browser( "title:=Google" ).Page( "title:=Google" ).WebEdit( "name:=q" ).Set "Google Search" <p>With DP, the properties are written with their corresponding values. OR, on the other hand, shows only a logical description of the object. <p><b>2.</b> A DP parent will only recognize a child that has DP style layout. In other words, you CANNOT add a child to a DP parent that has its properties stored in the OR. Example: <p>'Will not work: Browser is DP whereas Page and WebEdit are OR <p>Browser( "title:=Google" ).Page( "Google" ).WebEdit( "q" ).Set "Google Search" <p>'Will not work: Browser and Page are DP whereas WebEdit is OR <p>Browser( "title:=Google" ).Page( "title:=Google" ).WebEdit( "q" ).Set "Google Search" <p>However, an OR parent will recognize both OR and DP style children: <p>'Will work: Browser is OR whereas Page and WebEdit are DP <p>Browser( "Google" ).Page( "title:=Google" ).WebEdit( "name:=q" ).Set "Google Search" <p>'Will work: Browser and Page are OR whereas WebEdit is DP <p>Browser( "Google" ).Page( "Google" ).WebEdit( "name:=q" ).Set "Google Search" <p><b>3.</b> Writing good DP for Objects takes experience and skill. Even though DP has become extremely popular, improperly written DP can lead to performance issues, maintenance headaches etc. Its quite a different story with OR where you record the objects and QTP creates the hierarchy. <p><b>4.</b> The user must be careful when using DP: it is case sensitive (except in the case of Web Applications). Do not confuse this with how VBScript works. If the value of a property ‘html id’ is ‘txtZip’ then it must be coded as ‘txtZip’, not ‘txtzip’ or ‘TXTZIP’. QTP will only find the object if the value is written exactly as in the Object Spy. Example (WebEdit’s name property is retrieved as ‘editNewName’): <p>'Correct description for WinEdit <p>Window("nativeclass:=Test").WinEdit( "name:=editNewName" ).Set "DP" <p>'Incorrect description for WinEdit <p>Window("nativeclass:=Test").WinEdit( "name:=editnewname" ).Set "DP" <p>'Incorrect description for WinEdit <p>Window("nativeclass:=Test").WinEdit( "name:=EDITNEWNAME").Set "DP" <p><b>5.</b>Unlike OR, DP does not have auto-complete. All object descriptions must be coded out manually. This can be quite time consuming, and even frustrating for people who’re used to working with OR. <p><a href="http://relevantcodes.com/Articles/DPvsOR/OR-AutoComplete.JPG"><i><img title="clip_image001[4]" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="59" alt="clip_image001[4]" src="http://lh3.ggpht.com/_Ccx1jEouiW0/TI5r5ZkjY7I/AAAAAAAAAIE/M7yBVtO1ofg/clip_image001%5B4%5D%5B2%5D.jpg?imgmax=800" width="244" border="0"></i></a><i></i> <p><i>Object Repository Auto Complete Feature</i> <p><b>6.</b>Unlike OR’s ‘Highlight in Application’ feature, when searching for an object hierarchy written in DP, you must execute the line of code to locate the object in the application. Another way would be to keep a record of all objects, which can be quite tedious. <p><a href="http://relevantcodes.com/Articles/DPvsOR/OR-HighlightInApplication.JPG"><i><img title="clip_image002[4]" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="84" alt="clip_image002[4]" src="http://lh6.ggpht.com/_Ccx1jEouiW0/TI5r6NgTbUI/AAAAAAAAAII/mx2An1OalNA/clip_image002%5B4%5D%5B2%5D.jpg?imgmax=800" width="182" border="0"></i></a><i></i> <p><i>Object Repository Highlight in Application Feature</i> <p><b>7.</b> DP supports ChildObjects (to create the description object, you MUST use DP). Description object example: <p>Dim oDesc <p>Set oDesc = Description.Create <p>'Add a name property to the description <p>oDesc( "name" ).Value = "q" <p>'Add a html tag property to the description <p>oDesc( "html tag" ).Value = "INPUT" <p><b>8.</b> On average, DP is slower than OR (note: on average!). With DP, QTP creates the an object from the provided hierarchy of DP and locates the object in the application before performing an event. Demo: <p>'OR: 9.74 seconds <p>For i = 0 to 99 <p>Browser("Google").Page("Google").WebEdit("q").Set "QTP" <p>Next <p>'DP: 14.64 seconds <p>For i = 0 to 99 <p>Browser("title:=Google").Page("title:=Google").WebEdit("name:=q").Set "QTP" <p>Next <p><b>9.</b> OR has a GUI which makes is easy to understand object hierarchies and maintain objects. DP hierarchies are code statements. Example: <p><a href="http://relevantcodes.com/Articles/DPvsOR/OR-FrontEndGUI.JPG"><i><img title="clip_image003[4]" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="131" alt="clip_image003[4]" src="http://lh5.ggpht.com/_Ccx1jEouiW0/TI5r6_abidI/AAAAAAAAAIM/TiDMjKAvhPA/clip_image003%5B4%5D%5B2%5D.jpg?imgmax=800" width="219" border="0"></i></a></p> <p>for DP <p>Browser("micclass:=Browser").Page("micclass:=Page").ChildObjects(Desc)</p><i></i> <p><b>10.</b> <i>.Object</i> is available to both DP and OR: <p>'OR <p>Browser("Google").Page("Google").WebEdit("q").Object.Value = "QTP" <p>'DP <p>Browser("title:=Google").Page("title:=Google").WebEdit("name:=q").Object.Value = "QTP" <p><b>11.</b> Objects have logical names in OR which makes it easy to identify them. Sadly, DP doesn’t, since its based on principles of a white-box. <p><b>12.</b> This is strictly for OR, but at times you will notice that when working with applications, objects are added as: WebEdit_1, WebEdit_2, WebEdit_3 … WebEdit_n and so on. This can be extremely cumbersome to deal with, and it takes quite long to rename all the objects in OR to give them meaningful names. <p><b>13.</b> Code written with DP can be easily copied/pasted onto other scripts or functions. With OR based scripts, a simple copy/paste will not result in a working script. All the repositories (local/shared) would have to be associated with the test to make it executable. Therefore, when creating test with many reusable components, its generally easier to work with DP in comparison to OR unless there is a comprehensive use of Shared Object Repositories <p><b>14.</b> Object Repositories have capabilities to perform single-point maintenance, whereas with DP, during changes, all objects undergo manual updates. In situations where there are several changes in the AUT, OR can prove to be a better performer <p>If you feel I have missed something and must be added or corrected, please post a comment and I will update this post, giving full credit to you. Thanks :)</p> Swarupahttp://www.blogger.com/profile/16143551983203021417noreply@blogger.com0tag:blogger.com,1999:blog-2985268286009373884.post-43590451760614963112010-09-13T11:16:00.001-07:002010-09-13T11:16:38.772-07:00QTP Descriptive Programming (DP) for Web<p>I'm going to explain and show <b>QTP Descriptive Programming (DP)</b> through <a href="http://labs.google.com/sets">Google Sets</a> site: <p><a href="http://lh5.ggpht.com/_Ccx1jEouiW0/TI5qUq8sz6I/AAAAAAAAAG8/qM3KyYy9IMQ/s1600-h/image%5B5%5D.png"><img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="219" alt="image" src="http://lh3.ggpht.com/_Ccx1jEouiW0/TI5qVgnunRI/AAAAAAAAAHA/ji-SNpNEnnc/image_thumb%5B1%5D.png?imgmax=800" width="288" border="0"></a> <i>(click image to enlarge it)</i> <p>The goal of the present <b>QTP tutorial</b><b> </b>is to describe: <p><b>How to</b><b> </b><b>get</b><b> </b><b>number of controls</b><b> </b><b>(Links, Edits, Images, etc) with</b><b> </b><b>QTP DP.</b> <p><b><br></b>Let's investigate Descriptive Programming on examples.<br>First of all, we should understand what Descriptive Programming means: <p><b>What is QuickTest Professional Descriptive Programming (QTP DP)?</b><b></b> <p><i><br></i><i>Answer:</i><b> QTP DP is a run-time processing of objects which are not located in QTP Object Repository.</b><b><br></b><br>I've created new QTP script which starts with <a href="http://labs.google.com/sets">http://labs.google.com/sets</a> page.<br>This QTP script is simple enough: <p><b></b><b>Set Desc = Description.Create()</b> <p><b>Desc("micclass").Value = "WebEdit"</b> <p><b>Set Edits = Browser("micclass:=Browser").Page("micclass:=Page").ChildObjects(Desc)</b> <p><b></b> <p><b>MsgBox "Number of Edits: " & Edits.Count</b> <p><b></b> <p><b></b> <p><b></b> <p>And its result is:<br><a href="http://lh3.ggpht.com/_Ccx1jEouiW0/TI5qWRG_SaI/AAAAAAAAAHE/KQln7HNTl8Y/s1600-h/image%5B8%5D.png"><img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="132" alt="image" src="http://lh4.ggpht.com/_Ccx1jEouiW0/TI5qXEkBKII/AAAAAAAAAHI/LxfGzUFGInw/image_thumb%5B2%5D.png?imgmax=800" width="141" border="0"></a> <p>As you can see, it works correctly and returns correct number of Edits on a page.<br>I'm going to explain this QTP script and answer the following question: <p><b>How does QTP Descriptive Programming work?</b> <p>First of all, I've created new <b>Description</b><b> </b>object: <p><b>Set</b><b> </b><b>Desc =</b><b> </b><b>Description</b><b>.Create()</b> <p><b>Description </b>object contains collection of properties, which identify any UI object such as a browser, a page, a dialog, a list, a button etc.<br>To specify that we want identify <b>all Edits</b> on browser's page I use <b>"micclass" </b>property: <p><b>Desc(</b><b>"micclass"</b><b>).</b><b>Value</b><b> </b><b>=</b><b> </b><b>"WebEdit"</b> <p><b><i>Note:</i></b> the <b>"mic" </b>prefix in <b>"micclass"</b> stands for "Mercury Interactive Constant". <p><b>How do you know the class name ("micclass") of object?</b> <p>Use Spy for that:<br><a href="http://lh6.ggpht.com/_Ccx1jEouiW0/TI5qXnDdAiI/AAAAAAAAAHM/3OnfIjgAQBg/s1600-h/clip_image005%5B3%5D.gif"><img title="clip_image005" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="56" alt="clip_image005" src="http://lh5.ggpht.com/_Ccx1jEouiW0/TI5qYf7VKMI/AAAAAAAAAHQ/zLZeZVtAOJA/clip_image005_thumb.gif?imgmax=800" width="244" border="0"></a><br>Open QTP object Spy and check recorded properties of object.<br>For example, these are properties of Edit:<br>s<a href="http://lh5.ggpht.com/_Ccx1jEouiW0/TI5qZ9JrcgI/AAAAAAAAAHU/7JxJDuUHW48/s1600-h/clip_image007%5B3%5D.jpg"><img title="clip_image007" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="275" alt="clip_image007" src="http://lh4.ggpht.com/_Ccx1jEouiW0/TI5qa9hCPAI/AAAAAAAAAHY/5ZVjlBKUZw0/clip_image007_thumb.jpg?imgmax=800" width="193" border="0"></a><br>As you can see, there is <b>"Class Name"</b> property and its value - <b>"WebEdit"</b>. So, <b>"WebEdit"</b><b> </b>is a value of Class Name of all Edits located on Web page.<br><b><i>Note:</i></b> <b>"Class Name"</b> is a synonym of <b>"micclass"</b>.<b> </b><br></p> <p>Since we created <b>Description</b> object for <b>all edit boxes</b>, we can use this description to get <b>all specified objects</b> ( = edit boxes).<br>The next step returns the collection of all child objects (i.e. edit boxes) contained within the page:</p> <p><b>Set</b><b> </b><b>Links = Browser("micclass:=Browser").Page("micclass:=Page").ChildObjects(Desc)</b> <p>To get the number of found objects in a returned collection, we use <b>Count</b> property: <p><b>MsgBox</b><b> </b><b>"Number of Edits: "</b><b> </b><b>& Links.</b><b>Count</b> <p>And the result is 5 found Edits on <a href="http://labs.google.com/sets">Google Sets</a> page:<br><a href="http://lh4.ggpht.com/_Ccx1jEouiW0/TI5qbuj_7kI/AAAAAAAAAHc/_OT_dhipuVY/s1600-h/clip_image011%5B3%5D.gif"><img title="clip_image011" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="104" alt="clip_image011" src="http://lh5.ggpht.com/_Ccx1jEouiW0/TI5qcHhKjrI/AAAAAAAAAHg/BV5FaQrj27Q/clip_image011_thumb.gif?imgmax=800" width="121" border="0"></a><br>So, this is a mechanism of <b>QuickTest Professional Descriptive Programming</b>.<br></p> <p>Also, we can use the same code to get number of others objects - Links, Images, Buttons, etc.<br>For that I modified QTP script:</p> <p><b>Function GetAllSpecificControls(Page, MicClass)</b> <p><b>Set Desc = Description.Create()</b> <p><b>Desc("micclass").Value = MicClass</b> <p><b>Set GetAllSpecificControls = Page.ChildObjects(Desc)</b> <p><b>End Function</b> <p><b></b> <p><b>Function GetAllEdits(Page)</b> <p><b>Set GetAllEdits = GetAllSpecificControls(Page, "WebEdit")</b> <p><b>End Function</b> <p><b></b> <p><b>Function GetAllButtons(Page)</b> <p><b>Set GetAllButtons = GetAllSpecificControls(Page, "WebButton")</b> <p><b>End Function</b> <p><b></b> <p><b>Function GetAllLinks(Page)</b> <p><b>Set GetAllLinks = GetAllSpecificControls(Page, "Link")</b> <p><b>End Function</b> <p><b></b> <p><b>Function GetAllImages(Page)</b> <p><b>Set GetAllImages = GetAllSpecificControls(Page, "Image")</b> <p><b>End Function</b> <p><b></b> <p><b></b> <p><b>Set oPage = Browser("micclass:=Browser").Page("micclass:=Page")</b> <p><b></b> <p><b>MsgBox "Number of Edits: " & GetAllEdits(oPage).Count</b> <p><b>MsgBox "Number of Buttons: " & GetAllButtons(oPage).Count</b> <p><b>MsgBox "Number of Links: " & GetAllLinks(oPage).Count</b> <p><b>MsgBox "Number of Images: " & GetAllImages(oPage).Count</b> <p>The result of this QTP script is the following:<br> <p></p> <p></p> <p><a href="http://lh4.ggpht.com/_Ccx1jEouiW0/TI5qczTKhwI/AAAAAAAAAHk/yLqqueJEmyE/s1600-h/image%5B11%5D.png"><img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="132" alt="image" src="http://lh3.ggpht.com/_Ccx1jEouiW0/TI5qdtWu8CI/AAAAAAAAAHo/AwjBNfE5I7s/image_thumb%5B3%5D.png?imgmax=800" width="141" border="0"></a> <a href="http://lh4.ggpht.com/_Ccx1jEouiW0/TI5qeGiZ6gI/AAAAAAAAAHs/Kw5zCQEykuw/s1600-h/image%5B14%5D.png"><img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="132" alt="image" src="http://lh4.ggpht.com/_Ccx1jEouiW0/TI5qeio7LTI/AAAAAAAAAHw/Ufewl2hDeh8/image_thumb%5B4%5D.png?imgmax=800" width="155" border="0"></a> <a href="http://lh3.ggpht.com/_Ccx1jEouiW0/TI5qfFgoQWI/AAAAAAAAAH0/ayZSL44-MWI/s1600-h/image%5B17%5D.png"><img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="132" alt="image" src="http://lh5.ggpht.com/_Ccx1jEouiW0/TI5qf8F7W3I/AAAAAAAAAH4/-Ex9wWrxfvQ/image_thumb%5B5%5D.png?imgmax=800" width="148" border="0"></a> <a href="http://lh5.ggpht.com/_Ccx1jEouiW0/TI5qgslMAiI/AAAAAAAAAH8/w0QLhzsdJQk/s1600-h/image%5B20%5D.png"><img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="132" alt="image" src="http://lh6.ggpht.com/_Ccx1jEouiW0/TI5qhIRz6SI/AAAAAAAAAIA/5pbaKnAOaWU/image_thumb%5B6%5D.png?imgmax=800" width="155" border="0"></a></p> Swarupahttp://www.blogger.com/profile/16143551983203021417noreply@blogger.com1tag:blogger.com,1999:blog-2985268286009373884.post-67761235431400658682010-09-13T11:04:00.001-07:002010-09-13T11:04:03.158-07:00Descriptive Programming --Types<p> <p>Entering / Providing objects information directly into the test script is called Descriptive Programming. <p>In this method of script creation, we no need to have Object Repositories.<br><b>Advantages:</b> <p>a) Descriptive Programming based Test scripts are faster in execution than Repository based Test scripts. <p>b) Scripts are portable (we can run these scripts from any machine easily) <p>c) Maintenance is easy (less amount of resources) <p>d) We can start Test Execution process even though Application is not ready. <p><b>Descriptive programming is basically 2 types.</b> <p>1. Static Programming <p>2. Dynamic Programming <p><b>Static Programming</b> <p><b></b> In this style of script generation, we provide objects information directly into the script. <p><b>Example:</b> <p>Invokeapplication "C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe" <p>dialog("text:=Login").Activate <p>dialog("text:=Login").Winedit("attached text:=Agent Name:").Set "swarupa" <p>dialog("text:=Login").Winedit("attached text:=Password:").Set "mercury" <p>dialog("text:=Login").Winbutton("text:=OK","width:=60").Click <p>window("text:=Flight Reservation").Close <p><b>Note:</b> <p>1. Dialog, WinEdit and WinButton – Test Objects <p>2. text, attached text - Property names <p>3. Login, Agent Name:, Password:, OK,Flight Reservation - Property values or Logical Names of the Object <p>4. Activate, Set, Setsecure, Click - Methods <p><b>Note2:</b> <p>If we feel one property information is not sufficient for recognizing the object uniquely, then we can provide more properties information by separating with commas. <p><b>Note 3:</b> <p>If we want to get objects information (Test objects, properties and values), we can use object spy feature. This feature is available in Tools Menu, in local repository and in repository manager. <p>NOTE:- <p>If we want maintain ‘Objects information’ in centralized location then we can use Constants.<br>Steps:<br>Creating Constants:<br>Const Login="text:=Login", Agent="attached text:=Agent Name:"<br>Const Pwd ="attached text:=Password:", Ok="text:=OK"<br>Note: we can declare no of Constants in a line by separating with Camas (,), if we take other line then we have to use Const Statement again.<br>Creating a Library file<br>Place Constants in Notepad and save as .vbs file<br>Associate the Library file to QTP (File->Settings->Resources-> Click add (+) icon-> Browse path of the Library file->Click Apply and click Ok buttons<br><b>Otherwise</b>, we can load the library file during run-time <br>Syntax:<br><b>ExecuteFile “Path of the Library file(.vbs)”<br></b><br>After that create the Test Script using Constants<br>Creating the Test Script using Constants:<br>Invokeapplication "C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe" <p>Dialog(Login).Activate <p>Dialog(Login).Winedit(Agent).Set "swarupa" <p>Dialog(Login).Winedit(Pwd).Set "mercury" <p>Dialog(Login).Winbutton(Ok).Click <p>Advantages:<br>If we maintain Object Information in the centralized location, then we can handle modifications easily.<br>------------------------------------------------------------------- <p><b>Dynamic Programming</b> <p>In this style of script generation, first we create description objects, provide properties information and use description objects in the test script. <p><b>Creating Properties Collection Objects</b> <p>Set oLogin=description.Create <p>Set oAgent=description.Create <p>Set oPassword=description.Create <p>Set oOk=description.Create <p><b>Entering Properties Information into Objects</b> <p>oLogin("text").value="Login" <p>oAgent("attached text").value="Agent Name:" <p>oPassword("attached text").value="Password:" <p>oOk("text").value="OK" <p><b>NOTE</b>:- the above two parts to written in notepad with login.vbs and associate it from fileàsettingsàresourcesàclick on the + symbolàbrowse till the location where u have saved the file and say OK <p>And the below script in the QT <p><b>Generating Tests using Properties collection Objects</b> <p>Invokeapplication "C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe" <p>Dialog(oLogin).Activate <p>Dialog(oLogin).Winedit(oAgent).Set "swarupa" <p>Dialog(oLogin).Winedit(oPassword).Set "mercury" <p>Dialog(oLogin).Winbutton(oOK).Click <p><b>Note1:</b> Create Description objects and put into one library file, by associating that library file, we can generate tests. <p><b>Note2:</b> Dynamic programming is some difficult in preparation than static programming but maintenance is very easy.</p> Swarupahttp://www.blogger.com/profile/16143551983203021417noreply@blogger.com0tag:blogger.com,1999:blog-2985268286009373884.post-74654331440102919762010-09-13T10:01:00.001-07:002010-09-13T10:36:22.680-07:00QTP Regular Expression Example 2 using checkpoint on web<b>example 3</b> <br />
1. Open QTP and a new test. <br />
2. Open Internet Explorer and open this URL <strong>http://www.worldtimeserver.com/current_time_in_IN.aspx</strong> <br />
3. Click on Record in order to start recording. <br />
4. Go to Insert-> Checkpoint->Text Checkpoint. <br />
5. QTP will be minimized and mouse pointer will change into hand shape. <br />
6. Click on time as shown in below screenshot. <br />
<a href="http://lh5.ggpht.com/_Ccx1jEouiW0/TI5YoLWqQQI/AAAAAAAAAGM/I9-38EISHdk/s1600-h/clip_image003%5B3%5D.jpg"><img alt="clip_image003" border="0" height="252" src="http://lh4.ggpht.com/_Ccx1jEouiW0/TI5Yo182rtI/AAAAAAAAAGQ/-hOgV8ILh2U/clip_image003_thumb.jpg?imgmax=800" style="border-bottom-color: initial; border-bottom-style: initial; border-bottom-width: 0px; border-left-color: initial; border-left-style: initial; border-left-width: 0px; border-right-color: initial; border-right-style: initial; border-right-width: 0px; border-top-color: initial; border-top-style: initial; border-top-width: 0px; display: inline;" title="clip_image003" width="400" /></a> <br />
7. Text Checkpoint Properties window will open with the text on which we clicked on, in red color. <br />
8. In this window, on the right hand side of 'Constant' radio button click on pencil and paper button to open "Constant Value Options" button. <br />
9. Check Regular Expression checkbox and in the value field type<strong>:(1[012]|[1-9]):[0-5][0-9]</strong> . Click OK. Again click Ok to come out of Text Checkpoint Properties window. NOTE:no spaces before and after while copy pasting the value and if the data is not copied properly it will prompt for adding the “\” it shows that there is something wrong in the given value <br />
Re-check and give the proper value <br />
<a href="http://lh5.ggpht.com/_Ccx1jEouiW0/TI5Yp2oTSyI/AAAAAAAAAGU/O7FjQLU6_QY/s1600-h/clip_image006%5B3%5D.jpg"><img alt="clip_image006" border="0" height="400" src="http://lh3.ggpht.com/_Ccx1jEouiW0/TI5Yq8XJaUI/AAAAAAAAAGY/3m9i_qQGffI/clip_image006_thumb.jpg?imgmax=800" style="border-bottom-color: initial; border-bottom-style: initial; border-bottom-width: 0px; border-left-color: initial; border-left-style: initial; border-left-width: 0px; border-right-color: initial; border-right-style: initial; border-right-width: 0px; border-top-color: initial; border-top-style: initial; border-top-width: 0px; display: inline;" title="clip_image006" width="295" /></a> <br />
Click here on the symbol and the window will open <br />
<a href="http://lh5.ggpht.com/_Ccx1jEouiW0/TI5Yrl4Ma5I/AAAAAAAAAGc/KF3yza9_vYk/s1600-h/clip_image008%5B3%5D.jpg"><img alt="clip_image008" border="0" height="145" src="http://lh3.ggpht.com/_Ccx1jEouiW0/TI5YuLfkFdI/AAAAAAAAAGg/PatPHHkBRTw/clip_image008_thumb.jpg?imgmax=800" style="border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline;" title="clip_image008" width="244" /></a> <br />
Now enter (1[012]|[1-9]):[0-5][0-9] without spaces before and after the expression select the regular expression check box click on OK <br />
<a href="http://lh6.ggpht.com/_Ccx1jEouiW0/TI5Yu_-YekI/AAAAAAAAAGk/ZiZpkpmqAHE/s1600-h/clip_image010%5B3%5D.jpg"><img alt="clip_image010" border="0" height="145" src="http://lh5.ggpht.com/_Ccx1jEouiW0/TI5YvmZ8thI/AAAAAAAAAGo/_-JsVZBMn1U/clip_image010_thumb.jpg?imgmax=800" style="border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline;" title="clip_image010" width="244" /></a> <br />
The below screen appears <br />
<a href="http://lh4.ggpht.com/_Ccx1jEouiW0/TI5Yw2a6f9I/AAAAAAAAAGs/vUpYmiqY8Y4/s1600-h/clip_image012%5B3%5D.jpg"><img alt="clip_image012" border="0" height="400" src="http://lh5.ggpht.com/_Ccx1jEouiW0/TI5YxuD0NfI/AAAAAAAAAGw/K0zT_OthQHg/clip_image012_thumb.jpg?imgmax=800" style="border-bottom-color: initial; border-bottom-style: initial; border-bottom-width: 0px; border-left-color: initial; border-left-style: initial; border-left-width: 0px; border-right-color: initial; border-right-style: initial; border-right-width: 0px; border-top-color: initial; border-top-style: initial; border-top-width: 0px; display: inline;" title="clip_image012" width="295" /></a>click on OK <br />
The below line of script is generated <br />
Browser("Browser").Page("Current local time in").Check CheckPoint("Current local time in India") <br />
10. Click on Stop in order to stop recording. <br />
It will record only one line in the expert view: <br />
<strong>Browser("Browser").Page("Current local time in").Check CheckPoint("Current local time in India")</strong> <br />
Now you can refresh that website so as to see the current time and run this test again. It should pass. <br />
Results page is as follows when we click on “run” <br />
<a href="http://lh5.ggpht.com/_Ccx1jEouiW0/TI5YzOvu1CI/AAAAAAAAAG0/c8OOqAPF9to/s1600-h/clip_image014%5B3%5D.jpg"><img alt="clip_image014" border="0" height="252" src="http://lh3.ggpht.com/_Ccx1jEouiW0/TI5Yz3NdPMI/AAAAAAAAAG4/PSu3Wkb9xvM/clip_image014_thumb.jpg?imgmax=800" style="border-bottom-color: initial; border-bottom-style: initial; border-bottom-width: 0px; border-left-color: initial; border-left-style: initial; border-left-width: 0px; border-right-color: initial; border-right-style: initial; border-right-width: 0px; border-top-color: initial; border-top-style: initial; border-top-width: 0px; display: inline;" title="clip_image014" width="400" /></a> <br />
For <strong>datatable</strong> :- <br />
Same as above except choosing the constant chose the datatable option in the 8<sup>th</sup> step above <br />
And enter (1[012]|[1-9]):[0-5][0-9] (am|pm) in the QT I the datatable.Swarupahttp://www.blogger.com/profile/16143551983203021417noreply@blogger.com0tag:blogger.com,1999:blog-2985268286009373884.post-80919834065065234542010-09-13T09:56:00.001-07:002010-09-13T10:04:37.904-07:00The regular expression object depicts a pattern of characters.<p><b>Example 2</b> <p>Here we will talk about 2 Properties (Global Property, IgnoreCase property) and 2 Methods (Execute Method, Replace Method) of Regular Expression object. <p><strong>Global Property</strong> <p>Below is an example of Global property of VBScript Regular Expression object. Set the Global to True and it matches the whole string and shows all the occurrences of patterns in the string. <p>Function regexp_function(ptrn, strng) <p>Dim regexp, Match, Matches <p>'declaring Regular expression Object <p>Set regexp = New RegExp <p>'Setting pattern <p>regexp.Pattern = ptrn <p>regexp.IgnoreCase = True <p>regexp.Global = True <p>Set Matches = regexp.Execute(strng) <p>For Each Match in Matches <p>result = result & "Match is found at position " <p>result = result & Match.FirstIndex & vbCRLF <p>Next <p>regexp_function = result <p>End Function <p>Msgbox(regexp_function("i", " mIssIssippi")) <p>This above code when run shows the below message box. <p><a href="http://lh3.ggpht.com/_Ccx1jEouiW0/TI5Xi8ppCeI/AAAAAAAAAFk/22WpSedHAYs/s1600-h/clip_image002%5B3%5D.jpg"><img title="clip_image002" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="180" alt="clip_image002" src="http://lh3.ggpht.com/_Ccx1jEouiW0/TI5XjRHzX9I/AAAAAAAAAFo/O-END4FAtQc/clip_image002_thumb.jpg?imgmax=800" width="197" border="0"></a> <p><b>CASE2:-If Global Property is set to False then the result will be</b> <p><b><a href="http://lh5.ggpht.com/_Ccx1jEouiW0/TI5XkMi2jcI/AAAAAAAAAFs/1rnmjbIBbAQ/s1600-h/clip_image004%5B3%5D.jpg"><img title="clip_image004" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="132" alt="clip_image004" src="http://lh5.ggpht.com/_Ccx1jEouiW0/TI5XkjrMDPI/AAAAAAAAAFw/eaQbp3IWK3I/clip_image004_thumb.jpg?imgmax=800" width="190" border="0"></a></b><b>(it takes the first occurrence of the char i)</b> <p><b>IgnoreCase property</b> <p>Sets or returns a Boolean value that indicates if a pattern search is case-sensitive or not. The value of the IgnoreCase property is False if the search is case-sensitive, True if it is not.<b> Default is False.</b> <p>Function regexp_function(ptrn, strng) <p>Dim regexp, Match, Matches <p>'declaring Regular expression Object <p>Set regexp = New RegExp <p>'Setting pattern <p>regexp.Pattern = ptrn <p>regexp.IgnoreCase = True <p>regexp.Global = True <p>Set Matches = regexp.Execute(strng) <p>For Each Match in Matches <p>result = result & "Match is found at position " <p>result = result & Match.FirstIndex & vbCRLF <p>Next <p>regexp_function = result <p>End Function <p>Msgbox(regexp_function("is", "missISsippi")) <p>For above code where IgnoreCase is true it shows <p><a href="http://lh4.ggpht.com/_Ccx1jEouiW0/TI5Xly06XqI/AAAAAAAAAF0/hBm3Sy8ODWU/s1600-h/clip_image007%5B3%5D.jpg"><img title="clip_image007" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="154" alt="clip_image007" src="http://lh6.ggpht.com/_Ccx1jEouiW0/TI5Xmj2pswI/AAAAAAAAAF4/ryNZ9QHaVcU/clip_image007_thumb.jpg?imgmax=800" width="244" border="0"></a> <p>If IgnoreCase is False then it shows <p><a href="http://lh5.ggpht.com/_Ccx1jEouiW0/TI5XnlTQp8I/AAAAAAAAAF8/apU7c4-4Nvo/s1600-h/clip_image010%5B3%5D.jpg"><img title="clip_image010" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="154" alt="clip_image010" src="http://lh3.ggpht.com/_Ccx1jEouiW0/TI5XoSXDTVI/AAAAAAAAAGA/pH8Qit7BcEg/clip_image010_thumb.jpg?imgmax=800" width="244" border="0"></a> <p><b>Execute Method</b> <p>The Execute method also takes one string parameter and returns a Matches collection containing a Match object for each match found in string,.Executes any statements defined as strings at runtime. <p>If the regex could not match the subject string at all, MatchCollection.Count will be zero. <p>If the RegExp.Global property is False (the default), MatchCollection will contain only the first match. <p>If RegExp.Global is true, MatchCollection will contain all matches. <p>You can see the examples of Global Property and IgnoreCase Property to get a feel of Execute method. <p><b>Replace Method</b> <p>Its syntax is:- Object.Replace(string1, string2) <p>String1 is the text string in which the text replacement is to occur. <p>String2 is the replacement text string. <p>Function ReplaceTest(ptrn, replStr) <p>Dim regexp, str <p>str = "mississippi" <p>Set regexp = New RegExp <p>regexp.Pattern = ptrn <p>regexp.IgnoreCase = True <p>regexp.Global=True <p>ReplaceTest = regexp.Replace(str, replStr) <p>End Function <p>MsgBox(ReplaceTest("is", "x")) <p>'the above function call replaces "is" with "x" <p>The above code shows <p><a href="http://lh6.ggpht.com/_Ccx1jEouiW0/TI5XpsrlnjI/AAAAAAAAAGE/Fqk9rEdRgjw/s1600-h/clip_image013%5B3%5D.jpg"><img title="clip_image013" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="214" alt="clip_image013" src="http://lh6.ggpht.com/_Ccx1jEouiW0/TI5XqcP21nI/AAAAAAAAAGI/3A3_eqVkZuE/clip_image013_thumb.jpg?imgmax=800" width="282" border="0"></a> Swarupahttp://www.blogger.com/profile/16143551983203021417noreply@blogger.com0tag:blogger.com,1999:blog-2985268286009373884.post-33887204459000933822010-09-13T09:52:00.001-07:002010-09-13T09:52:52.461-07:00Regular Expression Object RegExp<p><b> Example1</b> <p>Below example shows Test method, Ignore Case and Pattern property of Regular Expression object on Flight Reservation Application. <p>The below line in the code says that the user name should have last 5 letters as 'rupaR' and first letter can be anything except s,w and a. So xaxrupaR or wxvrupaR for example will work, but swarupaR and waarupaR will not. <p>'MsgBox(RegExpTest("[^swa]rupaR", username)) <p>Enter the below code in a new test in QTP and run it. When this example will work it will just open the Flight Reservation Application and close it. <p>Dim username <p>username = inputbox("enter username ") <p>MsgBox(RegExpTest("[^swa]rupaR", username)) <p>If (RegExpTest("[^swa]rupaR", username))="Pass" Then <p>msgbox "Pass" <p>else <p>msgbox "Fail" <p>ExitAction <p>End If <p>SystemUtil.Run "C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4b.exe" <p>window("Title:=Login").WinEdit("AttachedText:=Agent Name:").Set username <p>window("Title:=Login").WinEdit("AttachedText:=Password:").Set "mercury" <p>window("Title:=Login").winbutton("Text:=OK").Click <p>window("Title:=Flight Reservation").close <p>Function RegExpTest(patrn, strng) <p>Dim regEx, retVal ' Create variable. <p>Set regEx = New RegExp ' Create regular expression. <p>regEx.Pattern = patrn ' Set pattern. <p>regEx.IgnoreCase = False ' Set case sensitivity. <p>retVal = regEx.Test(strng) ' Execute the search test. <p>If retVal Then <p>RegExpTest = "Pass" <p>Else <p>RegExpTest = "Fail" <p>End If <p>End Function</p> Swarupahttp://www.blogger.com/profile/16143551983203021417noreply@blogger.com0tag:blogger.com,1999:blog-2985268286009373884.post-43550763943977828832010-09-13T08:54:00.001-07:002010-09-13T09:01:30.104-07:00Regular Expression in QTP for Windows Application Flight<p>regular expression concept <p>Open Flight Reservation window-->open any order I have taken order no:-->the following window opens <p><a href="http://lh4.ggpht.com/_Ccx1jEouiW0/TI5I8sSTgjI/AAAAAAAAAEk/TzT8Op-3FXs/s1600-h/clip_image002%5B3%5D.jpg"><img title="clip_image002" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="192" alt="clip_image002" src="http://lh4.ggpht.com/_Ccx1jEouiW0/TI5I9p6fruI/AAAAAAAAAEo/5_d3-hSu_aQ/clip_image002_thumb.jpg?imgmax=800" width="244" border="0"></a><a href="http://lh4.ggpht.com/_Ccx1jEouiW0/TI5I-VI8JhI/AAAAAAAAAEs/KBBCy338M04/s1600-h/clip_image004%5B3%5D.jpg"><img title="clip_image004" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="178" alt="clip_image004" src="http://lh4.ggpht.com/_Ccx1jEouiW0/TI5I_KgFvGI/AAAAAAAAAEw/VkmDXFvcKuU/clip_image004_thumb.jpg?imgmax=800" width="215" border="0"></a> <p>start recording <p>now go to file-->Fax order-->enter fax number-->click on send-->stop recording <p><a href="http://lh5.ggpht.com/_Ccx1jEouiW0/TI5I_7jrmkI/AAAAAAAAAE0/jv2vWSSGClo/s1600-h/clip_image006%5B3%5D.jpg"><img title="clip_image006" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="187" alt="clip_image006" src="http://lh6.ggpht.com/_Ccx1jEouiW0/TI5JA76MyDI/AAAAAAAAAE4/iaDPWdZrzJs/clip_image006_thumb.jpg?imgmax=800" width="218" border="0"></a>the following code generates <p>Window("Flight Reservation").Activate <p>Window("Flight Reservation").WinMenu("Menu").Select "File;Fax Order..." <p>Window("Flight Reservation").Dialog("Fax Order No. 2").ActiveX("MaskEdBox").Type "1212121212" <p>Window("Flight Reservation").Dialog("Fax Order No. 2").WinButton("Send").Click <p>step2:- Right click on the ("Fax Order No. 2")-->go to “object properties” <p><a href="http://lh3.ggpht.com/_Ccx1jEouiW0/TI5JCf6_KNI/AAAAAAAAAE8/Y3ijBfkQ8hA/s1600-h/clip_image009%5B3%5D.jpg"><img title="clip_image009" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="184" alt="clip_image009" src="http://lh3.ggpht.com/_Ccx1jEouiW0/TI5JDW7fq3I/AAAAAAAAAFA/nNTYdQtrhzg/clip_image009_thumb.jpg?imgmax=800" width="244" border="0"></a> <p>click on the above symbol the below window opens <p><a href="http://lh6.ggpht.com/_Ccx1jEouiW0/TI5JEmX5O3I/AAAAAAAAAFE/31mphgk4GCE/s1600-h/clip_image012%5B3%5D.jpg"><img title="clip_image012" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="225" alt="clip_image012" src="http://lh3.ggpht.com/_Ccx1jEouiW0/TI5JF-IdtRI/AAAAAAAAAFI/n-XZrUl8-eM/clip_image012_thumb.jpg?imgmax=800" width="244" border="0"></a><a href="http://lh4.ggpht.com/_Ccx1jEouiW0/TI5JG15ea_I/AAAAAAAAAFM/IhWswA37-90/s1600-h/clip_image017%5B3%5D.jpg"><img title="clip_image017" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="222" alt="clip_image017" src="http://lh3.ggpht.com/_Ccx1jEouiW0/TI5JH1aN4nI/AAAAAAAAAFQ/ZvdJdV_MeOM/clip_image017_thumb.jpg?imgmax=800" width="244" border="0"></a>now remove 2 and give *. and select regular expression <a href="http://lh3.ggpht.com/_Ccx1jEouiW0/TI5JIgVKr_I/AAAAAAAAAFU/zHFCVp_Rews/s1600-h/clip_image019%5B3%5D.jpg"><img title="clip_image019" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="186" alt="clip_image019" src="http://lh5.ggpht.com/_Ccx1jEouiW0/TI5JJoaY6OI/AAAAAAAAAFY/42mj77Rmcc0/clip_image019_thumb.jpg?imgmax=800" width="244" border="0"></a> Fax Order No.*.-->click on OK the below change you can see <a href="http://lh3.ggpht.com/_Ccx1jEouiW0/TI5JKb2bg2I/AAAAAAAAAFc/X7EYJipu7Ts/s1600-h/clip_image021%5B3%5D.jpg"><img title="clip_image021" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="225" alt="clip_image021" src="http://lh3.ggpht.com/_Ccx1jEouiW0/TI5JLaqf1-I/AAAAAAAAAFg/unFisEAz5G8/clip_image021_thumb.jpg?imgmax=800" width="244" border="0"></a>click on OK <p>RUN the test -->it will run <p>Now open another order number like Order No:7 now the details of fax are new but still your script will run as you have applied the concept of “Regular expression” Swarupahttp://www.blogger.com/profile/16143551983203021417noreply@blogger.com0tag:blogger.com,1999:blog-2985268286009373884.post-22420424593392722542010-08-27T06:02:00.001-07:002014-02-13T22:56:18.721-08:00Virtual Objects<div dir="ltr" style="text-align: left;" trbidi="on">
What is Virtual Object? <br />
<b></b>A virtual object is defined by user in Quick Test to recognize any area of your application as an object. Virtual objects enable you to record and run tests on objects that are not normally recognized by Quickest. <br />
What is virtual Object Collection? <br />
A virtual object collection is a group of virtual objects that is stored in the Virtual Object Manager under a descriptive name. <br />
How to disable virtual Objects while recording? <br />
<b></b>Go to <b>Tools-->Options--></b><b> </b><b>General Tab--></b><b> </b><b>Disable Recognition of virtual objects while recording</b> <br />
Check and uncheck this option to disable or enable virtual objects while recording. <br />
What is the storage location of Virtual Objects? <br />
<b></b>If you create any virtual objects automatically those objects will be stored in <br />
<b><u><Quickest installation folder>\ dat \ VoTemplate</u></b> <br />
What is extension of virtual objects file? <br />
<b></b><b>.VOT</b> <br />
What are the limitations and drawbacks of Virtual Objects? <br />
· Quickest does not support virtual objects for analog or low-level recording. <br />
· Not possible to apply a checkpoint on a virtual object <br />
· Only by recording we can add virtual objects <br />
· Not possible to add virtual objects using Object Repository <br />
· Not possible to spy on a virtual object using object spy <br />
· <b>Virtual Objects doesn’t support all objects and methods.</b> <br />
· May not run perfectly on different screen resolutions if a test using Virtual Objects. <br />
· Virtual object uses the properties Name, Height, Width, X, Y which the properties are having maximum possibilities for frequent change. <br />
Creating a virtual object <br />
Open a new test click on <strong>Tools-->virtual object-->new virtual object the following window opens</strong> <br />
<a href="http://lh4.ggpht.com/_Ccx1jEouiW0/THe3BBRI3mI/AAAAAAAAADc/pG66qO1Ov6U/s1600-h/clip_image002%5B5%5D.jpg"><img alt="clip_image002" border="0" src="http://lh3.ggpht.com/_Ccx1jEouiW0/THe3C5mUCbI/AAAAAAAAADg/soejrqYXDlM/clip_image002_thumb%5B2%5D.jpg?imgmax=800" height="240" style="border-bottom-color: initial; border-bottom-style: initial; border-bottom-width: 0px; border-left-color: initial; border-left-style: initial; border-left-width: 0px; border-right-color: initial; border-right-style: initial; border-right-width: 0px; border-top-color: initial; border-top-style: initial; border-top-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image002" width="320" /></a> <br />
Click on <strong>Next-->select “button” from the combobox-->click on Next -->he below screen appears</strong> <br />
<a href="http://lh4.ggpht.com/_Ccx1jEouiW0/THe3EcbX_-I/AAAAAAAAADk/1HCNmA-nYf8/s1600-h/clip_image004%5B5%5D.jpg"><img alt="clip_image004" border="0" src="http://lh6.ggpht.com/_Ccx1jEouiW0/THe3F6ZT1mI/AAAAAAAAADo/x8shI0pKZ6w/clip_image004_thumb%5B2%5D.jpg?imgmax=800" height="233" style="border-bottom-color: initial; border-bottom-style: initial; border-bottom-width: 0px; border-left-color: initial; border-left-style: initial; border-left-width: 0px; border-right-color: initial; border-right-style: initial; border-right-width: 0px; border-top-color: initial; border-top-style: initial; border-top-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image004" width="320" /></a> <br />
<a href="http://lh3.ggpht.com/_Ccx1jEouiW0/THe3GmE1XOI/AAAAAAAAADs/GpPixPPbkhI/s1600-h/clip_image005%5B4%5D.gif"><img alt="clip_image005" border="0" src="http://lh6.ggpht.com/_Ccx1jEouiW0/THe3HA0irHI/AAAAAAAAADw/yelCKVAfbt0/clip_image005_thumb.gif?imgmax=800" height="15" style="border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline;" title="clip_image005" width="2" /></a><a href="http://lh6.ggpht.com/_Ccx1jEouiW0/THe3HwK7fbI/AAAAAAAAAD0/DGzQPLJO3aY/s1600-h/clip_image005%5B1%5D%5B2%5D.gif"><img alt="clip_image005[1]" border="0" src="http://lh5.ggpht.com/_Ccx1jEouiW0/THe3IRYIPkI/AAAAAAAAAD4/GASlNSXqYk8/clip_image005%5B1%5D_thumb.gif?imgmax=800" height="15" style="border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline;" title="clip_image005[1]" width="2" /></a>Click on the mark object the cursor changes as the symbol -- -- just drag and select on the button on which u want create the virtual object like below .i have created on “OK” button of “Login” <br />
<a href="http://lh4.ggpht.com/_Ccx1jEouiW0/THe3JIYc8HI/AAAAAAAAAD8/7YaU6Q4jmnk/s1600-h/clip_image007%5B6%5D.jpg"><img alt="clip_image007" border="0" src="http://lh3.ggpht.com/_Ccx1jEouiW0/THe3KodVTFI/AAAAAAAAAEA/cPMHil4KoNU/clip_image007_thumb%5B3%5D.jpg?imgmax=800" height="192" style="border-bottom-color: initial; border-bottom-style: initial; border-bottom-width: 0px; border-left-color: initial; border-left-style: initial; border-left-width: 0px; border-right-color: initial; border-right-style: initial; border-right-width: 0px; border-top-color: initial; border-top-style: initial; border-top-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image007" width="320" /></a><a href="http://lh3.ggpht.com/_Ccx1jEouiW0/THe3MA6b18I/AAAAAAAAAEE/eD1-Tcl8ONU/s1600-h/clip_image009%5B5%5D.jpg"><img alt="clip_image009" border="0" src="http://lh4.ggpht.com/_Ccx1jEouiW0/THe3Nj9yVdI/AAAAAAAAAEI/7IwhXDFARhM/clip_image009_thumb%5B2%5D.jpg?imgmax=800" height="212" style="border-bottom-color: initial; border-bottom-style: initial; border-bottom-width: 0px; border-left-color: initial; border-left-style: initial; border-left-width: 0px; border-right-color: initial; border-right-style: initial; border-right-width: 0px; border-top-color: initial; border-top-style: initial; border-top-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image009" width="320" /></a> <br />
The screen captures width and height of “OK” button à click on next the below screen appears <br />
<a href="http://lh3.ggpht.com/_Ccx1jEouiW0/THe3OxeUeGI/AAAAAAAAAEM/sFTgUs83wGE/s1600-h/clip_image011%5B6%5D.jpg"><img alt="clip_image011" border="0" src="http://lh5.ggpht.com/_Ccx1jEouiW0/THe3QmfDIrI/AAAAAAAAAEQ/eSmLLyAqbig/clip_image011_thumb%5B3%5D.jpg?imgmax=800" height="220" style="border-bottom-color: initial; border-bottom-style: initial; border-bottom-width: 0px; border-left-color: initial; border-left-style: initial; border-left-width: 0px; border-right-color: initial; border-right-style: initial; border-right-width: 0px; border-top-color: initial; border-top-style: initial; border-top-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image011" width="320" /></a> <br />
Select <strong>“Entire parent hierarchy -->and click on next-->the below screen appears</strong> <br />
<a href="http://lh3.ggpht.com/_Ccx1jEouiW0/THe3R89o24I/AAAAAAAAAEU/QXB4rfuIcsE/s1600-h/clip_image013%5B5%5D.jpg"><img alt="clip_image013" border="0" src="http://lh4.ggpht.com/_Ccx1jEouiW0/THe3TRfHtwI/AAAAAAAAAEY/QjirxBkjDdg/clip_image013_thumb%5B2%5D.jpg?imgmax=800" height="241" style="border-bottom-color: initial; border-bottom-style: initial; border-bottom-width: 0px; border-left-color: initial; border-left-style: initial; border-left-width: 0px; border-right-color: initial; border-right-style: initial; border-right-width: 0px; border-top-color: initial; border-top-style: initial; border-top-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="clip_image013" width="320" /></a> <br />
We can see the name as “button” on which we created the virtual object and it shows collection name as “VoCollection6”.if you want to create one more virtual object the select the radio button “Yes” if not then select “No”àclick on “Finish” <br />
NOW record for “login” the following line of code will be generated <br />
SystemUtil.Run "C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe","","C:\Program Files\HP\QuickTest Professional\samples\flight\app\","open" <br />
1.Dialog("Login").WinEdit("Agent Name:").Set "agentjjj" <br />
2.Dialog("Login").WinEdit("Password:").SetSecure "4c69845dab4535b260da2cea98526c2960751cb9" <br />
3.Dialog("Login").WinButton("OK").VirtualButton("button").Click <br />
4.Window("Flight Reservation").WinMenu("Menu").Select "File;Exit" <br />
We can see the differnece in the line of script generated for “OK” button before creating virtual objects and after creating virtual object <br />
<b>BEFORE:- </b>Dialog("Login").WinButton("OK").Click <br />
<b>AFTER :-</b>Dialog("Login").WinButton("OK").VirtualButton("button").Click <br />
In Virtual Object Manager we will find all the collection of virtual objects.<br />
<strong>go to tools—>virtual object—>virtual object manager </strong><br />
<a href="http://lh4.ggpht.com/_Ccx1jEouiW0/THe3UgDy66I/AAAAAAAAAEc/br6zIVFb5qY/s1600-h/image%5B6%5D.png"><img alt="image" border="0" src="http://lh3.ggpht.com/_Ccx1jEouiW0/THe3WuZl8zI/AAAAAAAAAEg/QJIcfLzBFnU/image_thumb%5B4%5D.png?imgmax=800" height="201" style="border-bottom-color: initial; border-bottom-style: initial; border-bottom-width: 0px; border-left-color: initial; border-left-style: initial; border-left-width: 0px; border-right-color: initial; border-right-style: initial; border-right-width: 0px; border-top-color: initial; border-top-style: initial; border-top-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="image" width="320" /></a></div>
Swarupahttp://www.blogger.com/profile/16143551983203021417noreply@blogger.com0tag:blogger.com,1999:blog-2985268286009373884.post-48460150366941063042010-08-17T06:31:00.000-07:002010-08-17T06:31:29.632-07:00AOM(Automation Object Model)<div class="MsoNormal" style="margin-left: 1.5in; text-indent: .5in;"><span style="font-family: "Verdana","sans-serif"; font-size: 12.0pt; line-height: 115%;"><span style="mso-spacerun: yes;"> </span></span><span style="color: red; font-family: "Verdana","sans-serif"; font-size: 18.0pt; line-height: 115%;">AOM<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif"; font-size: 12.0pt; line-height: 115%;">The set of executable statements in a programming language<span style="mso-spacerun: yes;"> </span>or scripting language which is saved ina execuatable file with file extention “.vbs” (visual basic script) <o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif"; font-size: 12.0pt; line-height: 115%;">Using AOM we can launch,load,execute the tests in QT<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif"; font-size: 12.0pt; line-height: 115%;">In order to launch QT using AOM file the following configuration has to be done in QT<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif"; font-size: 12.0pt; line-height: 115%;">Navigation :-<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif"; font-size: 12.0pt; line-height: 115%;">Tools</span><span style="font-family: Wingdings; font-size: 12.0pt; line-height: 115%; mso-ascii-font-family: Verdana; mso-char-type: symbol; mso-hansi-font-family: Verdana; mso-symbol-font-family: Wingdings;"><span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings;">à</span></span><span style="font-family: "Verdana","sans-serif"; font-size: 12.0pt; line-height: 115%;">options</span><span style="font-family: Wingdings; font-size: 12.0pt; line-height: 115%; mso-ascii-font-family: Verdana; mso-char-type: symbol; mso-hansi-font-family: Verdana; mso-symbol-font-family: Wingdings;"><span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings;">à</span></span><span style="font-family: "Verdana","sans-serif"; font-size: 12.0pt; line-height: 115%;">run</span><span style="font-family: Wingdings; font-size: 12.0pt; line-height: 115%; mso-ascii-font-family: Verdana; mso-char-type: symbol; mso-hansi-font-family: Verdana; mso-symbol-font-family: Wingdings;"><span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings;">à</span></span><span style="font-family: "Verdana","sans-serif"; font-size: 12.0pt; line-height: 115%;">allows</span><span style="font-family: Wingdings; font-size: 12.0pt; line-height: 115%; mso-ascii-font-family: Verdana; mso-char-type: symbol; mso-hansi-font-family: Verdana; mso-symbol-font-family: Wingdings;"><span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings;">à</span></span><span style="font-family: "Verdana","sans-serif"; font-size: 12.0pt; line-height: 115%;">allow other HP product to run test and components<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif"; font-size: 12.0pt; line-height: 115%;">Creating an AOM File :- Open a note pad and save it with file extention “.vbs”<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif"; font-size: 12.0pt; line-height: 115%;">Ti edit AOM file :- right click and select “edit”<o:p></o:p></span></div><div class="MsoNormal"><!--[if gte vml 1]><v:shapetype id="_x0000_t32" coordsize="21600,21600"
o:spt="32" o:oned="t" path="m,l21600,21600e" filled="f"> <v:path arrowok="t" fillok="f" o:connecttype="none"/> <o:lock v:ext="edit" shapetype="t"/> </v:shapetype><v:shape id="_x0000_s1026" type="#_x0000_t32" style='position:absolute;
margin-left:50.25pt;margin-top:11.25pt;width:60pt;height:24pt;flip:x;
z-index:251658240' o:connectortype="straight"> <v:stroke endarrow="block"/> </v:shape><![endif]--><span style="height: 39px; margin-left: 63px; margin-top: 14px; mso-ignore: vglayout; position: absolute; width: 85px; z-index: 251658240;"></span><span style="font-family: "Verdana","sans-serif"; font-size: 12.0pt; line-height: 115%;">To executeAOM file :- double click file or right click and select “open” <o:p></o:p></span></div><div class="MsoNormal"><span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 16px; line-height: 18px;"><br />
</span></div><div class="MsoNormal"><span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 16px; line-height: 18px;">1.Script to create an object for QT to make QT visible ,launch,load and run a test .save the notepad as “qtlaunch.vbs”</span></div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif"; font-size: 12.0pt; line-height: 115%;">Set qt = CreateObject("QuickTest.Application")<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif"; font-size: 12.0pt; line-height: 115%;">qt.visible = true<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif"; font-size: 12.0pt; line-height: 115%;">qt.launch<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif"; font-size: 12.0pt; line-height: 115%;">qt.open "D:\qtest"<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif"; font-size: 12.0pt; line-height: 115%;">qt.test.run<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif"; font-size: 12.0pt; line-height: 115%;">qt.quit<o:p></o:p></span></div><div class="MsoNormal"><br />
</div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif"; font-size: 12.0pt; line-height: 115%;">2.script for creating an object for IE browser<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif"; font-size: 12.0pt; line-height: 115%;">set ie = createobject("InternetExplorer.application")<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif"; font-size: 12.0pt; line-height: 115%;">ie.visible=true<o:p></o:p></span></div><div class="MsoNormal"><span style="font-family: "Verdana","sans-serif"; font-size: 12.0pt; line-height: 115%;">ie.navigate "www.yahoo.com"<o:p></o:p></span></div>Swarupahttp://www.blogger.com/profile/16143551983203021417noreply@blogger.com0tag:blogger.com,1999:blog-2985268286009373884.post-13071623028151804572010-07-07T10:17:00.001-07:002010-07-07T10:17:53.460-07:00Quick Test 10.00 now offers the following new features.<p><font face="v">1. Centrally Manage and Share Testing Assets, Dependencies, and Versions in Quality Center 10.00<br>2. Perform Single-User Local System Monitoring While Running Your Tests<br>3. Improve Portability by Saving Copies of Tests Together with Their Resource Files<br>4. Call Actions Dynamically During the Test Run<br>5. Develop Own Bitmap Checkpoint Comparison Algorithm<br>6. Centrally Manage Work Items and ToDo Tasks in the To Do Pane<br>7. Improve Test Results Analysis with New Reporting Functionality<br>8. Test Standard and Custom Delphi Objects Using the Delphi Add-in and Delphi Add-in Extensibility</font></p> <p><br><font face="v">The most useful thing was a Maintenance Run Mode which will be helpful to update run time objects.<br>Again, we have better support of IE7 and even IE8 and Vista when come to 10.</font></p> Swarupahttp://www.blogger.com/profile/16143551983203021417noreply@blogger.com0tag:blogger.com,1999:blog-2985268286009373884.post-41462105419245001482010-07-05T04:34:00.000-07:002010-07-05T04:34:17.519-07:00Testcase prioritization technique to be used in case of risk based analysis<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; mso-line-height-alt: 9.75pt; mso-outline-level: 3; vertical-align: baseline;"><span style="color: #333333; font-family: "inherit","serif"; font-size: 10.5pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";">@If it is a new application developed from scratch, then everything is of equal risk and bugs could be anywhere.</span><span style="color: #333333; font-family: "inherit","serif"; font-size: 10.5pt; mso-bidi-font-family: Arial; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";"> </span><span style="color: #333333; font-family: "inherit","serif"; font-size: 10.5pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"><br />
<br />
@ If it is a new application developed from existing components/modules, then risks are at the integration level. Each module may work properly but they may not be re-used in the right context or assembled correctly.</span><span style="color: #333333; font-family: "inherit","serif"; font-size: 10.5pt; mso-bidi-font-family: Arial; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";"> </span><span style="color: #333333; font-family: "inherit","serif"; font-size: 10.5pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"><br />
<br />
@If it is an existing application that is having new features added, then the new features themselves are the greatest risk.</span><span style="color: #333333; font-family: "inherit","serif"; font-size: 10.5pt; mso-bidi-font-family: Arial; mso-fareast-font-family: "Times New Roman";"><br />
<br />
@If it is a maintenance release (bug fixes only) of an existing application, then the validity of the bug fixes is first, closely followed by the features that had the bugs.<o:p></o:p></span></div>Swarupahttp://www.blogger.com/profile/16143551983203021417noreply@blogger.com0tag:blogger.com,1999:blog-2985268286009373884.post-71974711180945114272010-06-06T05:27:00.001-07:002010-06-06T05:27:19.188-07:00Quality Center<span class="Apple-style-span" style="color: #634320; font-family: Helvetica, Arial, Verdana, 'Trebuchet MS', sans-serif; font-size: 13px;">What is Quality Center?</span><span class="Apple-style-span" style="color: #634320; font-family: Helvetica, Arial, Verdana, 'Trebuchet MS', sans-serif; font-size: 13px;"><br />
</span><span class="Apple-style-span" style="color: #634320; font-family: Helvetica, Arial, Verdana, 'Trebuchet MS', sans-serif; font-size: 13px;"><br />
</span><span class="Apple-style-span" style="color: #634320; font-family: Helvetica, Arial, Verdana, 'Trebuchet MS', sans-serif; font-size: 13px;">It is a comprehensive Web-Based Test Management tool supports high-level of communication and association among various stakeholders(BA's Developers,Testers...)</span><span class="Apple-style-span" style="color: #634320; font-family: Helvetica, Arial, Verdana, 'Trebuchet MS', sans-serif; font-size: 13px;"><br />
</span><span class="Apple-style-span" style="color: #634320; font-family: Helvetica, Arial, Verdana, 'Trebuchet MS', sans-serif; font-size: 13px;"><br />
</span><span class="Apple-style-span" style="color: #634320; font-family: Helvetica, Arial, Verdana, 'Trebuchet MS', sans-serif; font-size: 13px;">What can be integrated with QC?</span><span class="Apple-style-span" style="color: #634320; font-family: Helvetica, Arial, Verdana, 'Trebuchet MS', sans-serif; font-size: 13px;"><br />
</span><span class="Apple-style-span" style="color: #634320; font-family: Helvetica, Arial, Verdana, 'Trebuchet MS', sans-serif; font-size: 13px;"><br />
</span><span class="Apple-style-span" style="color: #634320; font-family: Helvetica, Arial, Verdana, 'Trebuchet MS', sans-serif; font-size: 13px;">QTP.WinRunner,LoadRunner are few of them to be integrated with QC.</span>Swarupahttp://www.blogger.com/profile/16143551983203021417noreply@blogger.com0tag:blogger.com,1999:blog-2985268286009373884.post-3794501778459688982010-06-06T05:26:00.001-07:002010-06-06T05:26:33.885-07:00Difference between Retesting and Regression Testing<div style="color: #634320; font-family: Arial; font-size: small; line-height: 1.22em;">Retesting is done to validate for the particular fix in a build.</div><div style="color: #634320; font-family: Arial; font-size: small; line-height: 1.22em;"><br style="line-height: 1.22em;" />Regression is done to validate for the correctness which may have impacted due to fix in other module/ component.... .it is applicable also to that module where the errors have come.</div><div style="color: #634320; font-family: Arial; font-size: small; line-height: 1.22em;"><br />
</div><div style="color: #634320; font-family: Arial; font-size: small; line-height: 1.22em;">Hence regression is part of retesting, which may have caused due to fix... </div><div style="color: #634320; font-family: Arial; font-size: small; line-height: 1.22em;"><br />
</div><div style="color: #634320; font-family: Arial; font-size: small; line-height: 1.22em;">Retesting is a subset of regression where we test those failed testcases.</div><div style="color: #634320; font-family: Arial; font-size: small; line-height: 1.22em;"><br />
</div><div style="color: #634320; font-family: Arial; font-size: small; line-height: 1.22em;">Regression is the whole set where we test all the testcases</div>Swarupahttp://www.blogger.com/profile/16143551983203021417noreply@blogger.com1