This is a common problem that most of the beginners face.
How to open SAP through QTP?. I thought of posting about this.
There is an utility object from QTP for SAP . It is “SAPGuiUtil”.
SAPGuiUtil supports multiple methods. Below is the list of
them with small description.
1. Autologon --
-- Connects and logs on to an SAP
Server
2. AutoLogonByIP -----
Connects and logs on to SAP server according to its IP address.
3. CloseConnections-----
Closes any SAP connections that were opened by QTP or by user.
4. OpenConnection ----- Opens a connection to the specified SAP
server.
5. OpenConnectionByIP --- Opens a connection to the specified SAP
server according to its IP.
Let’s have a look at each one of them.
1. Autologon : The AutoLogon method opens a new
connection even if an open session already exists.
Syntax :
SAPGuiUtil.Autologon
<ServerDescription>,<Client>,<User>,<Password>,<Language>
'The following example uses the AutoLogon method to
connect to client "800" of the "Calderone" SAP server, using
the logon information for the MUSTER user. The Password argument is
parameterized to take the encrypted value from the Data Table.
SAPGuiUtil.AutoLogon "Calderone", 800,
"MUSTER", DataTable("Password",dtLocalSheet),”EN”
2. AutoLogonByIP : Connects
and logs on to an SAP server according to its IP address.
“SAPGuiUtil.AutoLogonByIP
<ConnectionString>, <Client>, <User>, <Password>, <Language>,
[SystemNumber], [RoutingServers]”
Below is the example
'The following example uses the
AutoLogonByIP method to log on to the "Calderone" SAP server
'using its IP address instead of its name.'The Password argument is parameterized to take the encrypted value from the Data Table.
'using its IP address instead of its name.'The Password argument is parameterized to take the encrypted value from the Data Table.
SAPGuiUtil.AutoLogonByIP "/H/212.199.95.5/S/3200",
"800", "QA01", DataTable("Password",
dtGlobalSheet), "en", "00"
3. CloseConnections : Closes any SAP connections that were opened
by QuickTest or by the user.
Syntax: SAPGuiUtil.CloseConnections
4. OpenConnection : Opens a connection to the specified SAP
server.
SAPGuiUtil.OpenConnection ServerDescription
Below is an example.
Sapguiutil.OpenConnection “A:Test Server”
SAPGuiSession("Session").SAPGuiWindow("SAP").SAPGuiEdit("User").Set
strUserID
SAPGuiSession("Session").SAPGuiWindow("SAP").SAPGuiEdit("Password").SetSecure
strPassword
SAPGuiSession("Session").SAPGuiWindow("SAP").SAPGuiButton("Enter").Click
5. OpenConnectionByIP : Opens a
connection to the specified SAP server according to its IP address.
Syntax: object.OpenConnectionByIP ConnectionString,
[SystemNumber], [RoutingServers]
Below is the example.
SAPGuiUtil.OpenConnectionByIP
"10.168.11.57", 0
Hope this would help my readers. Please note this reference
was taken from QTP help.
Thanks for this post, it was useful for me
ReplyDeleteGlad that it was useful for you. Keep visiting the blog.
ReplyDeleteThanks a lot. Very useful
ReplyDeleteThanks for giving important information to training seekers,Keep posting useful information
ReplyDeleteQTP Training Chennai
Thanks for giving important information to training seekers,Keep posting useful information.
ReplyDeleteselenium training in chennai
good.
ReplyDeleteandroid training in chennai
very useful information.
ReplyDeletesoapui training in chennai
Thanks for this post, it was useful for me
ReplyDeletewas training in chennai
Can anyone tell me what is the difference between invoke/Systemutil and sapguiutil
ReplyDeleteTill now we launched sap by using invoke application, but suddenly objects were not identifying so we moved sapguiutil method for launching. If we use this method all objects are identifying perfectly all of sudden..
ReplyDeleteCan any one tell me what is the difference exactly between invoke and sapguiutil.
Kindly please provide an answer..
I ‘d mention that most of us visitors are endowed to exist in a fabulous place with very many wonderful individuals with very helpful things.
ReplyDeletebig-data-hadoop-training-institute-in-bangalore
Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
ReplyDeleteHadoop Training in Chennai
Hadoop Training in Bangalore
Big data training in tambaram
Big data training in Sholinganallur
Big data training in annanagar
Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.
ReplyDeleteDevops Training in pune
Devops Training in Chennai
Devops Training in Bangalore
AWS Training in chennai
AWS Training in bangalore
Inspiring writings and I greatly admired what you have to say , I hope you continue to provide new ideas for us all and greetings success always for you..Keep update more information..
ReplyDeleterpa training in Chennai | rpa training in pune
rpa training in tambaram | rpa training in sholinganallur
rpa training in Chennai | rpa training in velachery
rpa online training | rpa training in bangalore
It's interesting that many of the bloggers to helped clarify a few things for me as well as giving.Most of ideas can be nice content.The people to give them a good shake to get your point and across the command
ReplyDeletejava training in tambaram | java training in velachery
java training in omr | oracle training in chennai
I likable the posts and offbeat format you've got here! I’d wish many thanks for sharing your expertise and also the time it took to post!!
ReplyDeleteData Science course in Chennai
Data science course in bangalore
Data science course in pune
Data science online course
Nice post. Thanks for sharing such a recent updates.
ReplyDeleteselenium Training in Chennai
Selenium Training Chennai
iOS Training in Chennai
iOS Training Institutes in Chennai
JAVA J2EE Training Institutes in Chennai
Java course
That was a great message in my carrier, and It's wonderful commands like mind relaxes with understand words of knowledge by information's.
ReplyDeleteangularjs-Training in pune
angularjs-Training in chennai
angularjs Training in chennai
angularjs-Training in tambaram
angularjs-Training in sholinganallur
I am obliged to you for sharing this piece of information here and updating us with your resourceful guidance. Hope this might benefit many learners. Keep sharing this gainful articles and continue updating us.
ReplyDeleteHadoop Training in Chennai
Cloud computing Training
Cloud computing Training Chennai
Cloud computing Training centers in Chennai
Hadoop Course in Chennai
best big data training in chennai
Awesome post. Really you are shared very informative concept... Thank you for sharing. Keep on updating...
ReplyDeleteEducation
Technology
Nice post. Thanks for sharing such a worthy information.
ReplyDeleteSpoken English Classes in T Nagar
Spoken English Classes in Vadapalani
Spoken English Classes in Chennai Nungambakkam
Spoken English Coaching Class near me
Spoken English Classes in Tambaram
Spoken English Class in Chrompet
English Coaching Classes in Oragadam
Thanks for your informative article and the blog. your article is very useful.
ReplyDeleteHacking Course in Bangalore
Certified Ethical Hacking Course in Bangalore
Ethical Hacking Training in Mogappair
Ethical Hacking Classes near me
Ethical Hacking Course in Vadapalani
Ethical Hacking Course in Chennai
Thank you for sharing such great information with us. I really appreciate everything that you’ve done here and am glad to know that you really care about the world that we live in.
ReplyDeleteJava Training in Chennai
PHP Training in Chennai
Best Java Training Institute in Chennai with placement
Java J2ee Training in Chennai
PHP course
PHP Training
I’m experiencing some small security issues with my latest blog, and I’d like to find something safer. Do you have any suggestions?
ReplyDeletesafety course in chennai
Hello! This is my first visit to your blog! We are a team of volunteers and starting a new initiative in a community in the same niche. Your blog provided us useful information to work on. You have done an outstanding job.
ReplyDeleteAWS Training in Bangalore | Amazon Web Services Training in Bangalore
AWS Interview Questions And Answers
Learn Amazon Web Services Tutorial |AWS Tutorials For Beginners
Amazon Web Services Training in OMR , Chennai | Best AWS Training in OMR,Chennai
Excellent post!!!. The strategy you have posted on this technology helped me to get into the next level and had lot of information in it.
ReplyDeletepython Training institute in Pune
python Training institute in Chennai
python Training institute in Bangalore
You got an extremely helpful website I actually have been here reading for regarding an hour. I’m an initiate and your success is incredibly a lot of a concept on behalf of me.
ReplyDeleteData Science training in Chennai
Data science training in Bangalore
Data science training in pune
Data science online training
Data Science Interview questions and answers
Data Science Tutorial
Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
ReplyDeleteBest Devops Training in pune
Devops Training in Bangalore
Microsoft azure training in Bangalore
Power bi training in Chennai
This comment has been removed by the author.
ReplyDeleteThe blog is really Great.every concept should be Inspired. while reading this concept easily able to understand and clarifying the doubts are Easily.
ReplyDeleteData Science Training Course In Chennai | Data Science Training Course In Anna Nagar | Data Science Training Course In OMR | Data Science Training Course In Porur | Data Science Training Course In Tambaram | Data Science Training Course In Velachery
Just stumbled across your blog and was instantly amazed with all the useful information that is on it. Great post, just what i was looking for and i am looking forward to reading your other posts soon!
ReplyDeleteData Science Training In Chennai
Data Science Online Training In Chennai
Data Science Training In Bangalore
Data Science Training In Hyderabad
Data Science Training In Coimbatore
Data Science Training
Data Science Online Training
Thanks you for sharing this unique useful information content with us. Really awesome work. keep on sharing!!!
ReplyDeleteandroid training in chennai
android online training in chennai
android training in bangalore
android training in hyderabad
android Training in coimbatore
android training
android online training
Such a very useful Blog. Very interesting to read this article. I have learn some new information.thanks for sharing. data science courses
ReplyDeleteSuch a very useful Blog. Very interesting to read this article. I have learn some new information.thanks for sharing
ReplyDeletejava training in chennai
java training in annanagar
aws training in chennai
aws training in annanagar
python training in chennai
python training in annanagar
selenium training in chennai
selenium training in annanagar
v
This blog is more effective and it is very much useful for me.
ReplyDeletewe need more information please keep update more.
java training in chennai
java training in omr
aws training in chennai
aws training in omr
python training in chennai
python training in omr
selenium training in chennai
selenium training in omr
First You got a great blog .I will be interested in more similar topics. i see you got really very useful topics, i will be always checking your blog thanks.
ReplyDeletedata scientist training and placement
Thanks for sharing this blog. The content is beneficial and useful. Very informative post. Visit here to learn more about Data Warehousing companies and Data analytics Companies. I am impressed by the information that you have on this blog. Thanks once more for all the details.Visit here for Top Big Data Companies.
ReplyDeleteIt was wonderfull reading your article. Great writing style # BOOST Your GOOGLE RANKING.It’s Your Time To Be On #1st Page Our Motive is not just to create links but to get them indexed as will Increase Domain Authority (DA).We’re on a mission to increase DA PA of your domain High Quality Backlink Building Service Boost DA upto 15+ at cheapest Boost DA upto 25+ at cheapest Boost DA upto 35+ at cheapest Captured Current News
ReplyDeleteThank you for sharing the information
ReplyDeleteMPM Corner
Jumma Mubarak
tnmachiDa
teluguwap net
Coolmoviez
up Scholarship
Om Jai Jagdish
skymovies
Nice blog and informative content. Keep sharing more stuff like this. Thank you. If you want data science course training, check out the below link.
ReplyDeleteData Science Institute in Hyderabad
It is extremely nice to see the greatest details presented in an easy and understanding manner.
ReplyDeletedata science course in hyderabad
Mmorpg Oyunlar
ReplyDeleteINSTAGRAM TAKİPÇİ SATİN AL
tiktok jeton hilesi
tiktok jeton hilesi
Antalya Sac Ekimi
İnstagram Takipci Satın Al
instagram takipçi satın al
Metin Pvp
instagram takipçi satın al
pendik alarko carrier klima servisi
ReplyDeletetuzla toshiba klima servisi
çekmeköy lg klima servisi
ataşehir alarko carrier klima servisi
çekmeköy daikin klima servisi
ataşehir daikin klima servisi
ümraniye lg klima servisi
beykoz daikin klima servisi
pendik toshiba klima servisi
uc satın al
ReplyDeleteözel ambulans
en son çıkan perde modelleri
lisans satın al
minecraft premium
nft nasıl alınır
en son çıkan perde modelleri
yurtdışı kargo
شركة مكافحة حشرات بجدة
ReplyDeleteشركة عزل اسطح بجدة
Probably since sometimes tough career discuss. Whole environment lead.world-news
ReplyDeleteNice post thanks for sharing '
ReplyDeletegold price in chennai