Thursday, 30 August 2018

Incorporating Selenium Testing Tool with Google Drive


New-age advances have broadly affected our standard exercises and decidedly. Today there are modern and propelled contraptions accessible to additionally ease human endeavors. While the developing advancements keep on transforming our lives, testing their execution for wanted result is irreplaceable.
Test Automation holds various points of interest to upgrade the testing forms and accomplish greatest test scope. Google Drive joining is a valid example. We will additionally talk about and comprehend the different favorable circumstances of utilizing Google Drive.
When you incorporate with the User Interface (UI) of Google Drive, clients can make and open records put away on the drive inside the application. This procedure is relevant over all the Google Drive Web applications. The Google Drive stage furnishes a pack of APIs alongside customer libraries, dialect particular illustrations, and documentation to enable Selenium training in Marathahalli you to create applications that can incorporate with Google Drive for computerization.
For what reason is utilizing Google Drive for Test Automation suggested?
·         You can make an outside document that stores the test information (Input information and Expected Data) as incorporated and shared vault.
·         You can populate the test information into Automation Test Script, with the goal that few API's can be utilized to peruse the test information.
·         The add up to number of contents required to cover all the conceivable blends of test situations is less. Hence, lesser measure of code is required to test a total arrangement of situations.
·         You get expanded adaptability and viability of mechanization test contents, which additionally offers a clean and easy to use interface.
·         Any change in the test information grid would not hamper the test content code.
·         It gives viable correspondence and sharing, so it is less demanding for manual and computerization test groups to execute the contents on Cloud with required arrangement of information.
·         Check-in or registration from the undertaking system isn't required to refactor the test information.
·         High re-ease of use can be accomplished, as tests can be reused over various experiments by adjusting the test information esteems.
Difficulties of utilizing Google Drive for Test Automation:-
·         In request to evade content preparing blunders because of inaccurate information document organization or substance, Notepad or Microsoft Excel must be utilized to make and keep up the information records.
·         While creating and executing robotization test contents, specialized aptitudes are required to refactor the test information sheet inside the Automation structure.
Requirements for Integration:
·         Java 1.7 or more noteworthy
·         Access to the web and an internet browser
·         A Google account with Google Drive empowered
Google Drive Configuration:-
1.      Login into your Gmail account like xx@gmail.com and explore to the Access Link https://console.developers.google.com in other tab.
2.      Click on "Google API Console" under Developer Consoles area at base of the page or explore to connect – https://console.developers.google.com/apis/library
3.      Click on "Drive API" under Google Apps APIs area.
4.      Make/Select a task in the Google Developers Console and empower the Google API. Snap Continue; at that point go to certifications.
5.      At the highest point of the page, select the OAuth assent screen tab. Select an Email address, enter a Product name if not effectively set, and snap Save.
6.      Select the Credentials tab, click Create Credentials and select OAuth customer ID.
7.      Presently to make Client Id, tap on 'Design assent screen'.
8.      Select the application composes other, enter the name "customer Demo", and snap Create.
9.      Presently discourse will show up which demonstrates your "OAuth Client Id and Client Secret". Snap OK to expel the subsequent exchange
10.  Select the customer name checkbox and tap the record (Download JSON) catch to one side of the customer ID.
11.  Move the downloaded record to your working registry and rename it client_secret.json.
12.  Presently tap on "Make accreditations" drop down catch and select "Administration Account Key".
13.  Select "Administration Account – Compute Engine default benefit record" and key compose "P12". Snap Create.
14.  Snap Close to reject the subsequent discourse.
15.  Move the downloaded document – *.P12 to your working registry.
16.  Open Google Drive from your Gmail account.
17.  Make another Google spreadsheet and spare it as testSheet.
18.  Snap Share and offer the spreadsheet with your Client Id (xxx-developer.gsserviceaccount.com) which you made above.
19.  Adjust the Access Link setting – "Anybody with the connection can alter"
20.  Snap Save.
Google Drive is the most easy to understand capacity alternative, where all test information can be stacked (For e.g. on Gmail, Google Docs, and spreadsheets), and got to from every remote area. Google gives both free and paid-to capacity administrations. These give different capacity limit choices to your records and envelopes, where clients can store reinforcement nearby documents and synchronize in records and organizers over various PCs.
It is prescribed to use Google Drive administrations for Quality Assurance (QA) hones and further likewise incorporate with Automation instruments like Selenium.
Selenium is a standout amongst the most prominent Automation testing suites. selenium training in Bangalore - It is intended to test practical parts of Web applications over an extensive variety of programs and stages. Thinking of it as is an Open-Source stage; it is anything but difficult to coordinate Google Drive with Selenium. Furthermore, accreditations of Google record can be imparted to all approved colleagues for compelling execution of tests on the Cloud.

No comments:

Post a Comment