Tooltip Automation A Proof of Concept - STC India Automati… · Rajeev Kumar Tiwari Rajesh Khurana...

19
Tooltip Automation A Proof of Concept Rajeev Kumar Tiwari | Rajesh Khurana Ericsson India Global Service Pvt Ltd

Transcript of Tooltip Automation A Proof of Concept - STC India Automati… · Rajeev Kumar Tiwari Rajesh Khurana...

Page 1: Tooltip Automation A Proof of Concept - STC India Automati… · Rajeev Kumar Tiwari Rajesh Khurana Ericsson India Global Service Pvt Ltd . Agenda The Background Problem and Limitation

Slide title

70 pt

CAPITALS

Slide subtitle

minimum 30 pt

Tooltip Automation A Proof of Concept

Rajeev Kumar Tiwari | Rajesh Khurana

Ericsson India Global Service Pvt Ltd

Page 2: Tooltip Automation A Proof of Concept - STC India Automati… · Rajeev Kumar Tiwari Rajesh Khurana Ericsson India Global Service Pvt Ltd . Agenda The Background Problem and Limitation

Slide title

44 pt

Text and bullet level 1

minimum 24 pt

Bullets level 2-5

minimum 20 pt

Characters for Embedded font: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~¡¢£¤¥¦§¨©ª«¬®¯°±²³´¶·¸¹º»¼½ÀÁÂÃÄÅÆÇÈËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂăąĆćĊċČĎďĐđĒĖėĘęĚěĞğĠġĢģĪīĮįİıĶķĹĺĻļĽľŁłŃńŅņŇňŌŐőŒœŔŕŖŗŘřŚśŞşŠšŢţŤťŪūŮůŰűŲųŴŵŶŷŸŹźŻżŽžƒȘșˆˇ˘˙˚˛˜˝ẀẁẃẄẅỲỳ–—‘’‚“”„†‡•…‰‹›⁄€™ĀĀĂĂĄĄĆĆĊĊČČĎĎĐĐĒĒĖĖĘĘĚĚĞĞĠĠĢĢĪĪĮĮİĶĶĹĹĻĻĽĽŃŃŅŅŇŇŌŌŐŐŔŔŖŖŘŘŚŚŞŞŢŢŤŤŪŪŮŮŰŰŲŲŴŴŶŶŹŹŻŻȘș−≤≥fifl

ΆΈΉΊΌΎΏΐΑΒΓΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΪΫΆΈΉΊΰαβγδεζηθικλνξορςΣΤΥΦΧΨΩΪΫΌΎΏ

ЁЂЃЄЅІЇЈЉЊЋЌЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯЁЂЃЄЅІЇЈЉЊЋЌЎЏѢѢѲѲѴѴҐҐәǽẀẁẂẃẄẅỲỳ№

Do not add objects or text in the

footer area

© Ericsson AB 2014

ABOUT US

Rajeev Kumar Tiwari Rajesh Khurana

Ericsson India Global Service Pvt Ltd

Page 3: Tooltip Automation A Proof of Concept - STC India Automati… · Rajeev Kumar Tiwari Rajesh Khurana Ericsson India Global Service Pvt Ltd . Agenda The Background Problem and Limitation

Agenda

The Background

Problem and Limitation

The Solution

How did we Do It

The Snippet

Questions

Page 4: Tooltip Automation A Proof of Concept - STC India Automati… · Rajeev Kumar Tiwari Rajesh Khurana Ericsson India Global Service Pvt Ltd . Agenda The Background Problem and Limitation

The Background 1

Page 5: Tooltip Automation A Proof of Concept - STC India Automati… · Rajeev Kumar Tiwari Rajesh Khurana Ericsson India Global Service Pvt Ltd . Agenda The Background Problem and Limitation

WHAT IS A TOOLTIP/INFOTIP

The tooltip or infotip or a hint is a common graphical user interface element. #

A tooltip is a small pop-up window that labels the unlabeled control being

pointed to, such as unlabeled toolbar controls or command buttons. *

An infotip is a small pop-up window that concisely describes the object being

pointed to, such as descriptions of toolbar controls, icons, graphics, links,

Windows Explorer objects, Start menu items, and taskbar buttons. *

* MSDN

# Wikipedia

Page 6: Tooltip Automation A Proof of Concept - STC India Automati… · Rajeev Kumar Tiwari Rajesh Khurana Ericsson India Global Service Pvt Ltd . Agenda The Background Problem and Limitation

Currently, tool tip is created

manually in most of the

applications.

WoW

Developer

Manual

When we say “Manually”, it

means, the developer uses

some files to provide the

parameters to be used in the

GUI against each field.

In an ideal scenario,

a technical writer

provides the text for

these files.

However, it’s still a

manual work.

Ideal

The Old School Method

Page 7: Tooltip Automation A Proof of Concept - STC India Automati… · Rajeev Kumar Tiwari Rajesh Khurana Ericsson India Global Service Pvt Ltd . Agenda The Background Problem and Limitation

Problem & limitation 2

Page 8: Tooltip Automation A Proof of Concept - STC India Automati… · Rajeev Kumar Tiwari Rajesh Khurana Ericsson India Global Service Pvt Ltd . Agenda The Background Problem and Limitation

Slide title

44 pt

Text and bullet level 1

minimum 24 pt

Bullets level 2-5

minimum 20 pt

Characters for Embedded font: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~¡¢£¤¥¦§¨©ª«¬®¯°±²³´¶·¸¹º»¼½ÀÁÂÃÄÅÆÇÈËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂăąĆćĊċČĎďĐđĒĖėĘęĚěĞğĠġĢģĪīĮįİıĶķĹĺĻļĽľŁłŃńŅņŇňŌŐőŒœŔŕŖŗŘřŚśŞşŠšŢţŤťŪūŮůŰűŲųŴŵŶŷŸŹźŻżŽžƒȘșˆˇ˘˙˚˛˜˝ẀẁẃẄẅỲỳ–—‘’‚“”„†‡•…‰‹›⁄€™ĀĀĂĂĄĄĆĆĊĊČČĎĎĐĐĒĒĖĖĘĘĚĚĞĞĠĠĢĢĪĪĮĮİĶĶĹĹĻĻĽĽŃŃŅŅŇŇŌŌŐŐŔŔŖŖŘŘŚŚŞŞŢŢŤŤŪŪŮŮŰŰŲŲŴŴŶŶŹŹŻŻȘș−≤≥fifl ΆΈΉΊΌΎΏΐΑΒΓΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΪΫΆΈΉΊΰαβγδεζηθικλνξορςΣΤΥΦΧΨΩΪΫΌΎΏ ЁЂЃЄЅІЇЈЉЊЋЌЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯЁЂЃЄЅІЇЈЉЊЋЌЎЏѢѢѲѲѴѴҐҐәǽẀẁẂẃẄẅỲỳ№

Do not add objects or text in the

footer area

© Ericsson AB 2014

Problems and Limitations

› Technical Writer: Writes the

Information in a document.

› Developer: Writes the Information

within the Code.

Manual Work

› Compromise on the Content

Quality as the information is

written by the Developer.

› No Consistency Check.

quality

› No Scope for Reusability.

reusability

Page 9: Tooltip Automation A Proof of Concept - STC India Automati… · Rajeev Kumar Tiwari Rajesh Khurana Ericsson India Global Service Pvt Ltd . Agenda The Background Problem and Limitation

solution 3

Page 10: Tooltip Automation A Proof of Concept - STC India Automati… · Rajeev Kumar Tiwari Rajesh Khurana Ericsson India Global Service Pvt Ltd . Agenda The Background Problem and Limitation

Slide title

44 pt

Text and bullet level 1

minimum 24 pt

Bullets level 2-5

minimum 20 pt

Characters for Embedded font: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~¡¢£¤¥¦§¨©ª«¬®¯°±²³´¶·¸¹º»¼½ÀÁÂÃÄÅÆÇÈËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂăąĆćĊċČĎďĐđĒĖėĘęĚěĞğĠġĢģĪīĮįİıĶķĹĺĻļĽľŁłŃńŅņŇňŌŐőŒœŔŕŖŗŘřŚśŞşŠšŢţŤťŪūŮůŰűŲųŴŵŶŷŸŹźŻżŽžƒȘșˆˇ˘˙˚˛˜˝ẀẁẃẄẅỲỳ–—‘’‚“”„†‡•…‰‹›⁄€™ĀĀĂĂĄĄĆĆĊĊČČĎĎĐĐĒĒĖĖĘĘĚĚĞĞĠĠĢĢĪĪĮĮİĶĶĹĹĻĻĽĽŃŃŅŅŇŇŌŌŐŐŔŔŖŖŘŘŚŚŞŞŢŢŤŤŪŪŮŮŰŰŲŲŴŴŶŶŹŹŻŻȘș−≤≥fifl ΆΈΉΊΌΎΏΐΑΒΓΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΪΫΆΈΉΊΰαβγδεζηθικλνξορςΣΤΥΦΧΨΩΪΫΌΎΏ ЁЂЃЄЅІЇЈЉЊЋЌЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯЁЂЃЄЅІЇЈЉЊЋЌЎЏѢѢѲѲѴѴҐҐәǽẀẁẂẃẄẅỲỳ№

Do not add objects or text in the

footer area

© Ericsson AB 2014

Suggested Solutions

XSLT Transformation

XML Parsing

Technical Writer working on the Code

We had a series of discussions within out team and some of the

Stakeholders to find a better solution for the Problems and Limitation.

Page 11: Tooltip Automation A Proof of Concept - STC India Automati… · Rajeev Kumar Tiwari Rajesh Khurana Ericsson India Global Service Pvt Ltd . Agenda The Background Problem and Limitation

Slide title

44 pt

Text and bullet level 1

minimum 24 pt

Bullets level 2-5

minimum 20 pt

Characters for Embedded font: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~¡¢£¤¥¦§¨©ª«¬®¯°±²³´¶·¸¹º»¼½ÀÁÂÃÄÅÆÇÈËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂăąĆćĊċČĎďĐđĒĖėĘęĚěĞğĠġĢģĪīĮįİıĶķĹĺĻļĽľŁłŃńŅņŇňŌŐőŒœŔŕŖŗŘřŚśŞşŠšŢţŤťŪūŮůŰűŲųŴŵŶŷŸŹźŻżŽžƒȘșˆˇ˘˙˚˛˜˝ẀẁẃẄẅỲỳ–—‘’‚“”„†‡•…‰‹›⁄€™ĀĀĂĂĄĄĆĆĊĊČČĎĎĐĐĒĒĖĖĘĘĚĚĞĞĠĠĢĢĪĪĮĮİĶĶĹĹĻĻĽĽŃŃŅŅŇŇŌŌŐŐŔŔŖŖŘŘŚŚŞŞŢŢŤŤŪŪŮŮŰŰŲŲŴŴŶŶŹŹŻŻȘș−≤≥fifl ΆΈΉΊΌΎΏΐΑΒΓΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΪΫΆΈΉΊΰαβγδεζηθικλνξορςΣΤΥΦΧΨΩΪΫΌΎΏ ЁЂЃЄЅІЇЈЉЊЋЌЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯЁЂЃЄЅІЇЈЉЊЋЌЎЏѢѢѲѲѴѴҐҐәǽẀẁẂẃẄẅỲỳ№

Do not add objects or text in the

footer area

© Ericsson AB 2014

The Solution

XML Parsing

Reading an XML File to extract its

contents according to a structure.

Page 12: Tooltip Automation A Proof of Concept - STC India Automati… · Rajeev Kumar Tiwari Rajesh Khurana Ericsson India Global Service Pvt Ltd . Agenda The Background Problem and Limitation

How did we do it 4

Page 13: Tooltip Automation A Proof of Concept - STC India Automati… · Rajeev Kumar Tiwari Rajesh Khurana Ericsson India Global Service Pvt Ltd . Agenda The Background Problem and Limitation

Slide title

44 pt

Text and bullet level 1

minimum 24 pt

Bullets level 2-5

minimum 20 pt

Characters for Embedded font: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~¡¢£¤¥¦§¨©ª«¬®¯°±²³´¶·¸¹º»¼½ÀÁÂÃÄÅÆÇÈËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂăąĆćĊċČĎďĐđĒĖėĘęĚěĞğĠġĢģĪīĮįİıĶķĹĺĻļĽľŁłŃńŅņŇňŌŐőŒœŔŕŖŗŘřŚśŞşŠšŢţŤťŪūŮůŰűŲųŴŵŶŷŸŹźŻżŽžƒȘșˆˇ˘˙˚˛˜˝ẀẁẃẄẅỲỳ–—‘’‚“”„†‡•…‰‹›⁄€™ĀĀĂĂĄĄĆĆĊĊČČĎĎĐĐĒĒĖĖĘĘĚĚĞĞĠĠĢĢĪĪĮĮİĶĶĹĹĻĻĽĽŃŃŅŅŇŇŌŌŐŐŔŔŖŖŘŘŚŚŞŞŢŢŤŤŪŪŮŮŰŰŲŲŴŴŶŶŹŹŻŻȘș−≤≥fifl ΆΈΉΊΌΎΏΐΑΒΓΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΪΫΆΈΉΊΰαβγδεζηθικλνξορςΣΤΥΦΧΨΩΪΫΌΎΏ ЁЂЃЄЅІЇЈЉЊЋЌЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯЁЂЃЄЅІЇЈЉЊЋЌЎЏѢѢѲѲѴѴҐҐәǽẀẁẂẃẄẅỲỳ№

Do not add objects or text in the

footer area

© Ericsson AB 2014

POC Journey

Technical Writer

GUI Designer

XML Designer

Writes the Document

Writes the XML

Parser

Maps the ID’s in Code

Workflow Defined

Page 14: Tooltip Automation A Proof of Concept - STC India Automati… · Rajeev Kumar Tiwari Rajesh Khurana Ericsson India Global Service Pvt Ltd . Agenda The Background Problem and Limitation

Slide title

44 pt

Text and bullet level 1

minimum 24 pt

Bullets level 2-5

minimum 20 pt

Characters for Embedded font: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~¡¢£¤¥¦§¨©ª«¬®¯°±²³´¶·¸¹º»¼½ÀÁÂÃÄÅÆÇÈËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂăąĆćĊċČĎďĐđĒĖėĘęĚěĞğĠġĢģĪīĮįİıĶķĹĺĻļĽľŁłŃńŅņŇňŌŐőŒœŔŕŖŗŘřŚśŞşŠšŢţŤťŪūŮůŰűŲųŴŵŶŷŸŹźŻżŽžƒȘșˆˇ˘˙˚˛˜˝ẀẁẃẄẅỲỳ–—‘’‚“”„†‡•…‰‹›⁄€™ĀĀĂĂĄĄĆĆĊĊČČĎĎĐĐĒĒĖĖĘĘĚĚĞĞĠĠĢĢĪĪĮĮİĶĶĹĹĻĻĽĽŃŃŅŅŇŇŌŌŐŐŔŔŖŖŘŘŚŚŞŞŢŢŤŤŪŪŮŮŰŰŲŲŴŴŶŶŹŹŻŻȘș−≤≥fifl ΆΈΉΊΌΎΏΐΑΒΓΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΪΫΆΈΉΊΰαβγδεζηθικλνξορςΣΤΥΦΧΨΩΪΫΌΎΏ ЁЂЃЄЅІЇЈЉЊЋЌЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯЁЂЃЄЅІЇЈЉЊЋЌЎЏѢѢѲѲѴѴҐҐәǽẀẁẂẃẄẅỲỳ№

Do not add objects or text in the

footer area

© Ericsson AB 2014

POC Journey

Successful Automation

Quality Assurance

Jenkins

Build Environment Setup

Page 15: Tooltip Automation A Proof of Concept - STC India Automati… · Rajeev Kumar Tiwari Rajesh Khurana Ericsson India Global Service Pvt Ltd . Agenda The Background Problem and Limitation

The snippet 4

Page 16: Tooltip Automation A Proof of Concept - STC India Automati… · Rajeev Kumar Tiwari Rajesh Khurana Ericsson India Global Service Pvt Ltd . Agenda The Background Problem and Limitation

// tooltip.property file

//FTP Distributor

FTPDistributor.GeneralTab.Port=

"Port number to connect to a server."

XML Parser

<chl1><title xml:id="id_fipq">FTP Distributor</title>

<chl2><title>General Tab</title>

</chl2>

<caption></caption>

<tgroup cols="2"><colspec colname="col1"/><colspec colname="col2"/>

<thead>

<row>

<entry valign="top"><tp>Field</tp>

</entry>

<entry valign="top"><tp>Description</tp>

</entry>

</row>

</thead>

<tbody>

<row>

<entry><tp><object>Port</object></tp>

</entry>

<entry><tp>Port number to connect to a server.</tp>

</entry>

</row>

<row>

<entry><tp><object>File Name</object></tp>

</entry>

<entry><tp>Enter the file name.</tp>

</entry>

</row>

</tbody>

</tgroup>

</table>

</chl2>

</chl1>

XML Document

Page 17: Tooltip Automation A Proof of Concept - STC India Automati… · Rajeev Kumar Tiwari Rajesh Khurana Ericsson India Global Service Pvt Ltd . Agenda The Background Problem and Limitation

// tooltip.property file

//FTP Distributor

FTPDistributor.GeneralTab.Port=

"Port number to connect to a server."

Jenkins

(Build Environment)

Port number to connect to a server.

Page 18: Tooltip Automation A Proof of Concept - STC India Automati… · Rajeev Kumar Tiwari Rajesh Khurana Ericsson India Global Service Pvt Ltd . Agenda The Background Problem and Limitation

?’s 5

Page 19: Tooltip Automation A Proof of Concept - STC India Automati… · Rajeev Kumar Tiwari Rajesh Khurana Ericsson India Global Service Pvt Ltd . Agenda The Background Problem and Limitation

Slide title

44 pt

Text and bullet level 1

minimum 24 pt

Bullets level 2-5

minimum 20 pt

Characters for Embedded font: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~¡¢£¤¥¦§¨©ª«¬®¯°±²³´¶·¸¹º»¼½ÀÁÂÃÄÅÆÇÈËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂăąĆćĊċČĎďĐđĒĖėĘęĚěĞğĠġĢģĪīĮįİıĶķĹĺĻļĽľŁłŃńŅņŇňŌŐőŒœŔŕŖŗŘřŚśŞşŠšŢţŤťŪūŮůŰűŲųŴŵŶŷŸŹźŻżŽžƒȘșˆˇ˘˙˚˛˜˝ẀẁẃẄẅỲỳ–—‘’‚“”„†‡•…‰‹›⁄€™ĀĀĂĂĄĄĆĆĊĊČČĎĎĐĐĒĒĖĖĘĘĚĚĞĞĠĠĢĢĪĪĮĮİĶĶĹĹĻĻĽĽŃŃŅŅŇŇŌŌŐŐŔŔŖŖŘŘŚŚŞŞŢŢŤŤŪŪŮŮŰŰŲŲŴŴŶŶŹŹŻŻȘș−≤≥fifl ΆΈΉΊΌΎΏΐΑΒΓΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΪΫΆΈΉΊΰαβγδεζηθικλνξορςΣΤΥΦΧΨΩΪΫΌΎΏ ЁЂЃЄЅІЇЈЉЊЋЌЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯЁЂЃЄЅІЇЈЉЊЋЌЎЏѢѢѲѲѴѴҐҐәǽẀẁẂẃẄẅỲỳ№

Do not add objects or text in the

footer area

© Ericsson AB 2014

thank you @rajeev.jan22

@rajeshkhuraner