Category: Uncategorized
How to test on multiple browsers and different operating systems ?
One possible way is to use ‘Browser Stack‘.
BrowserStack is a cloud web and mobile testing platform that allows QA Teams to Test their websites and mobile applications on multiple browsers with multiple Operating systems and real mobile devices, So That QA Teams does not have to install or maintain virtual machines or physical devices for Testing
Some of the advantages of using BrowserStack are
- Easy to sign up and sample code is available on their web site that can be used to interact with any operation system and different browser versions
- Easy to switch between any Platforms
- Can be tested in any resolutions
- Once the script is executed A video is recorded and available for reference and the video can be downloaded
- You can buy as many parallel licenses for execution
How to Solve Sync Issues when running Scripts in parallel?
- Application for the Testing must be on a high configuration Server with very responsive database so that it can handle multiple requests
- Avoid running scripts parallel using chrome driver and start using cloud platform for executing the scripts
How to convert Html Extent reports to PDF format (printable version)
a. Place the below code into .css file (eg: qaPrint.css)
.dark .test-item,
.dark .test-list-tools,
.dark .header,
.dark .side-nav,
.test-wrapper .test-content,
.info h5.test-status {display: none;}
.test-wrapper .test-list {width: 100%;}
.test-contents.d-none {display: block !important;}
.side-nav-folded .page-container {padding-left: 0;}
.test-wrapper .test-list .test-list-wrapper .test-list-item .test-item {cursor: default;}
.attachments {padding: 0;}
.dark .attachments>li {list-style-type: none; border: none !important;}
.detail-foot .attachments img {width: 99%; margin-top: 20px;}
/*page break for each test*/
.test-list-item .test-item{page-break-after: always;}
b.
Open generated Extent Html Report in note pad or note pad ++ and place the above CSS file
In Html under the head tag
<head>
<link href=”qaPrint.css” rel=”stylesheet” media=”print”>
</head>