How to setup Recovery scenarios in QTP/UFT

How to setup Recovery scenarios in QTP/UFT

To handle unexpected errors, popup etc , QTP/UFT uses this feature (also when existing code is not designed to handle this issue)

1.       Navigate to Resources > Recovery Scenario Manager

1 Recovery scenarios manager
1 Recovery scenarios manager

2.       Click on below marked icon. Select the trigger (here is Pop up window)

2 Recovery scenarios trigger
2 Recovery scenarios trigger

3.       Now record the trigger – if required Regular expression can be added. It will add window title automatically.

3 Recovery scenarios trigger config
3 Recovery scenarios trigger config

4.       Now select the recovery operation.

4 Recovery scenarios trigger operation
4 Recovery scenarios trigger operation

5.       After recovery operation go to post recovery operation as copied below

5 post Recovery scenarios
5 post Recovery scenarios

How to do smart identification in QTP

How to do smart identification in QTP

Smart identification is needed when recorded script fails to recognize the application object (it may be due to multiple objects has same properties/values or recorded property value is changed)

Smart identification uses additional 2 set of object identification layers (1. Base filter properties 2. Optional filter properties) apart from regular mandatory, assistive properties.

1.       To get smart identification enabled – navigate Tools > Object identification.

1 object identification
1 object identification

2.       On object identification window – click on configure to add 1. Base filter properties 2. Optional filter properties as shown below.

2 object identification properties
2 object identification properties

How to do parameterization in HP UFT/QTP

Parameterization is used to replace the hard coded recorded values in the code.

How to do parameterization in HP UFT/QTP

1. Record the script and find out the values that you want to parameterize it.

2. Refer below – user login id is intended to parameterize here.

3. Click on View > Keyword View

keyword view
keyword view

4. Will bring the below screen and click the value field (marked in green below)

keyword edit
keyword edit

5. should bring below screen

keyword edit table
keyword edit table

6. Select parameter and give a meaningful name as below

keyword parameter
keyword parameter

7. click ok

keyword parameter ok
keyword parameter ok

8. now go back to Editor

qtp editor view
qtp editor view

9. as you see below, original code is updated with parameterization and you could see the script execution window updating the application under test (gmail.com) is updated with the parameterized value.

qtp source code
qtp source code

 

 

10. QTP results viewer is updated with parameterized values

qtp results

qtp results

How to view source code on HTML code using Chrome or Firefox browser.

How to view source code on HTML code using Chrome browser or Firefox browser.

How to view source code on HTML code using Chrome or Firefox browser.

 1)      Open browser in Chrome or in Firefox

2)      Type “view-source:url “ for e.g view-source:shalimatech.com type in Chrome/Firefox browser, that will show the HTML code .

 Please refer below youtube links for videos or similar videos,

https://www.youtube.com/watch?v=18ebuW1tcMU

https://www.youtube.com/watch?v=bVF8U5j7508

connecting qtp to qc, step by step.

connecting qtp to qc, step by step.

connecting qtp with qc. How to connect qtp with QC where QC stored all the QTP scripts.

1) Open QTP and navigate to  ALM Connection

HP UFT_1
2) Fill the QC/ALM URL, User id , password and click on Connect
HP ALM_2
3) Once it is connected, HP ALM connection window will show as below.
HP ALM_3

 

hello world first java program

hello world first java program

Creating first Java project

  1.  first you need to install Eclipse IDE – can be downloaded from https://www.eclipse.org

Eclipse will look like below,

2) create a project using Eclipse IDE, and give name as “Hello world”

Java project

3) create a package as shown below

Java Package

4) create a class as below,

Java class

5) fill the package name and class name as below,

Class creation

6) now insert/write the following program , since by default package and class name appears int the code

public static void main (String [] args)
{

System.out.println(“Hellow world………………. “);
System.out.println(“this is my first progrm”);

}

now you see the package name and class name are matching with the left pan tree structure as per below email. Also notice when you execute the results are displayed below.

Java - Hello world

 

 

 

Trending as of Jan 21 2017

Trending as of Jan 16 2017

Trending as of Jan 21 2017. My most favorite hobby is market research based on what i read from various news media. I focus mainly on new brands of cars, mobile phones, Laptops, software, new deals on various sites etc.. However this information may not be accurate and this is just my views and what I understood. Others would have their on views.

Date: Jan 16-2017

Kansai international airport is in Japan which is surrounded by water. 4. Kilometers long and 1 Kilometers wide man made island is then developed as an airport. This is one of the biggest airport in the world.  The airport build in the year 1994 in Osaka Japan was also referred as world’s most dangerous airport.

Date: Jan 16-2017

1.Times of usa magazine mentions about Mohanlal  but this could be a spam. Lots of social media including whatsapp spreading news that  times of usa magazine selected as their top versatile actors mohanlal and Naseeruddin Shah as 8th and 15th places respectively. Check4spam.com mentioned this as a spam news on Jan 16 2017.

2. ATM withdrawal limit is increased to Rs10k.

3. Zaira wasim acted  movie Dangal as young version of wrestler Geeta phogat now grossed 370 crores as of Jan 16.

4.according to anonymous source Samsung had found the exact reason for Note 7 battery explosion. Their officials shall reveal it soon..

5. Raspberry Pi3 launched new version on Monday which a has compute module (CM3) capable of running industry related applications and this is most nnjandham powerful version.

Date: Jan 14-2017

Jio is planning to invest 30,000 cr more to expand its coverage. This additional investment is good news for entire users and will influence people decision to stick to the network.

Deepika’s xXx Return of Xander Cage is released in India. It is her debut Hollywood movie.Worldwide release is scheduled on Jan-20-2017.

Times of usa magazine mohanlal – this can be a spam. Lots of social media including whatsapp spreading news that  times of usa magazine selected as their top versatile actors mohanlal and Naseeruddin Shah as 8th and 15th places respectively.

Date: Jan 12-2017

N Chandrasekaran will be taking over as chairman of Tata Sons on February 21, 2017.

Amazon’s apology to Sushma Swaraj regarding the selling Indian flag designed doormats and Amazon removed the product from site.

Date: Jan 11-2017

  1. H1 and L1 Visa news about hiking the minimum wages to $100k is trending news in Indian medias on this week. This news is causing lots concerns on Indian IT professionals living in USA about their Job security as well as IT companies concerns about their margins. Some of the IT majors are already started to make changes to their business model to handle this issues proactovely.

expecting more updates..

2. WhatsApp beta v2.17.6 will be supporting GIF search. this is something i was eagerly looking for. GIF images are light weight files and easy to share and express any flow and is a nice replacement for video clips..:-)

Date: Jan 10-2017.

1. 2018 Odyssey minivan’s modern look is amazing and this fifth generation model would definitely hit market with good responses.. Some of the features I likes are..new safety features, design changes, interior seat flexibilty for second row seats,  better technology to avoid collision, cabin control, more power etc

2. Xiaomi Redmi Note 5

Xiaomi expected to release its Note 5 version in 2017 .. Expected to have resolution 1920×1080 pixels with 2.5d curved IPS and 5.5 inch size..

Rear camera expected to have 16MP with PDAF

Expected processor Snapdragon 652 it’s core

Appam and Egg Masala

Appam and Egg Masala

appam

Appam and Egg Masala
Ingredient 1 – mustard seeds, onion, ginger , garlic, curry leaves, red chilly powder, turmeric, salt
Ingredient 2 – boiled eggs.
– heat oil in sauce pan and put ‘Ingredient 1’ in the same order.
– pour little water after 5 minutes cooking and add Ingredient 2 .
– Cook it in low flame for 20 minutes
Appam
Ingredient 1 – mustard seeds, onion, ginger , garlic, curry leaves, red chilly powder, turmeric, salt
Ingredient 2 – boiled eggs.
– heat oil in sauce pan and put ‘Ingredient 1’ in the same order.
– pour little water after 5 minutes cooking and add Ingredient 2 .
– Cook it in low flame for 20 minutes

Note: for complete list of recipes – please click on recipes
Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.

Software testing trends

Software testing trends. Importance of Python programming is increased specially on test automation steam. Also Open source tools like Selenium, JMeter demand is increased in IT companies.

 

Another importance area which testers can learn expertise for future opening is Mobile app testing as the popularity is tremendously increasing.

 

Agile testing and CI tools usage is increased already – most of the complex IT projects are handled using SCRUM methodologies. Script-less automation is another specialization already in place with automation. This uses customized keywords so that both functional and technical team could use and easily relate to functional requirements.

 

In conclusion – Open source tools and Mobile apps are showing good opportunities unless new technologies replace this.

Sunset from Manhattan New York

Sunset from Manhattan New York. Sunrise and sunset are the beautiful time in a day from anywhere in the world.

Enjoy the Sunset near Central park, New York. Manhattan is one of the must see places in USA.