[program-l] Re: If you had to work on a web project with lots of microservices that does not have an accessible ui, How do you find which part of the code needs change or has bug?

  • From: <travis@xxxxxxxxxxxxxx>
  • To: "'hamidreza abroshan'" <hamidreza.abroshan@xxxxxxxxx>, <program-l@xxxxxxxxxxxxx>
  • Date: Mon, 17 Jan 2022 11:20:59 -0600

Hi, 

That is a very difficult situation. The web ap needs to be fixed. 

I assume you can’t get that done, so I guess I think you’re forced to try 
Selenium.  You can write code such as in Python to browse to pages and do 
button.click, etc. If you don’t’ have that level of knowledge of the code or 
access to the code… If memory serves there is a recording tool that will track 
clicks, etc., and make like a macro. I would suggest having someone do typical 
use cases with the recorder tool, then you can get the code for the steps from 
the tool and run the steps you need. 

I’m sure this is less than ideal, but I don’t know how you would operate the UI 
yourself any other way if it is that inaccessible. 

 

 

From: hamidreza abroshan <hamidreza.abroshan@xxxxxxxxx> 
Sent: Monday, January 17, 2022 10:22 AM
To: program-l@xxxxxxxxxxxxx
Cc: travis@xxxxxxxxxxxxxx
Subject: Re: [program-l] Re: If you had to work on a web project with lots of 
microservices that does not have an accessible ui, How do you find which part 
of the code needs change or has bug?

 

Devtools in firefox is accessible but a little bit tricky and you can 
completely coppy http response, headers, and request and it's headers.

If you want, I can record  quicke tutorial for that.

The trick is that you should use Nvda's focus mode instead of browse mode.

But my problem here is that The web UI is not accessible. 

In some Dev companies, the test team is responsible for providing the payload 
and should tell you which micro service has bugs, but here they don't have such 
rules.

 How can I automate with selenium if I can't browse some parts of the page?

Best.

 

On Mon, Jan 17, 2022 at 7:34 PM Karl-Otto Rosenqvist <karl-otto@xxxxxxxxxx 
<mailto:karl-otto@xxxxxxxxxx> > wrote:

Hi!
My experience is that the dev tools in Microsoft Edge is hard to use 
with NVDA. Perhaps it's because I don't have enough experience and 
knowledge of where to look.
I'm partly sighted and have tried to inspect elements but I feel that 
it's very hard to do with a screen reader. Perhaps it is easier if you 
know the keyboard shortcuts to jump between the dev tools window/pane 
and the page itself?

Perhaps it's a similar problem that hamidreza abroshan experiences?


Regards

Karl-Otto


Karl-Otto Rosenqvist
MAWINGU
Orgnr: 750804-3937
0701- 75 98 56
karl-otto@xxxxxxxxxx <mailto:karl-otto@xxxxxxxxxx
https://mawingu.se

Den 2022-01-17 kl. 15:37, skrev travis@xxxxxxxxxxxxxx 
<mailto:travis@xxxxxxxxxxxxxx> :

SO are you saying the web application is inaccessible? Or the dev tools 
are?

If the web application is inaccessible that seems a whole problem on its 
own.

I guess if you really wanted you could try to automate executing steps 
in the web application using something like Selenium. But it sure sounds 
like an uphill battle if the application’s UI is inaccessible to that 
extreme.

*From:* program-l-bounce@xxxxxxxxxxxxx 
<mailto:program-l-bounce@xxxxxxxxxxxxx>  <program-l-bounce@xxxxxxxxxxxxx 
<mailto:program-l-bounce@xxxxxxxxxxxxx> > 
*On Behalf Of *hamidreza abroshan
*Sent:* Monday, January 17, 2022 7:12 AM
*To:* program-l@xxxxxxxxxxxxx <mailto:program-l@xxxxxxxxxxxxx
*Subject:* [program-l] Re: If you had to work on a web project with lots 
of microservices that does not have an accessible ui, How do you find 
which part of the code needs change or has bug?

Thanks Dzhovani,

We are running micro services locally, and can not trigger http requests 
from outside.

If I could debug the Micro services that are running on the central 
server, the test team and other developers can not use the app because I 
put a breakpoint somewhere and the execution stops when it hits my break 
point.

Let me explain my problem clearly.

Imagine that you joined a back end team of an app.

You receive a bug that says, "in the second page of customer 
registration, when customer details are added, We get 500 server error".

At this point, your fellow sited developer, opens the UI, navigates to 
registration, completes the form until gets to page 2, and in page 2,  
before hitting that button that sends customer details, opens his 
browser dev tools to track http requests and hits that send button.

Now, he can copy the http request and response from dev tools and resend 
with any rest client like postman and debug the local app, but if you 
were blind, you can not sea the UI, and you can not obtain the payload 
that you need to debug the app this way.

I'm asking any alternate solutions that

On Mon, Jan 17, 2022 at 1:39 PM Dzhovani Chemishanov 
<dzhovani.chemishanov@xxxxxxxxx <mailto:dzhovani.chemishanov@xxxxxxxxx>  
<mailto:dzhovani.chemishanov@xxxxxxxxx ;
<mailto:dzhovani.chemishanov@xxxxxxxxx> >> 
wrote:

    Hi,
    As far as I get your problem, you are unable to trigger an http
    request in order to inspect its content. If I get you correctly, debug
    log the incoming request on the backend and wait for someone to
    trigger it. This  is valid if you can fiddle with the handlers and
    have access to the raw data of the http request.
    HTH,
    Dzhovani

    On 1/17/22, hamidreza abroshan <hamidreza.abroshan@xxxxxxxxx 
<mailto:hamidreza.abroshan@xxxxxxxxx
    <mailto:hamidreza.abroshan@xxxxxxxxx ;
<mailto:hamidreza.abroshan@xxxxxxxxx> >> wrote:
     > Hey all,
     > I'm working on a java project that has 60 microservices and this
    project
     > does not have an accessible UI.
     > My problem is that when I need to debug this app, I need a
    payload to send
     > with rest clients, and every one says, "go and get the payload
    from UI."
     > What do you do in similar situations?
     > I need urgent help and appreciate your help.
     > Thanks in advance.
     >
     > --
     > hamidreza
     >
    ** To leave the list, click on the immediately-following link:-
    ** [mailto:program-l-request@xxxxxxxxxxxxx ;
<mailto:program-l-request@xxxxxxxxxxxxx
    <mailto:program-l-request@xxxxxxxxxxxxx ;
<mailto:program-l-request@xxxxxxxxxxxxx> >?subject=unsubscribe]
    ** If this link doesn't work then send a message to:
    ** program-l-request@xxxxxxxxxxxxx 
<mailto:program-l-request@xxxxxxxxxxxxx
    <mailto:program-l-request@xxxxxxxxxxxxx ;
<mailto:program-l-request@xxxxxxxxxxxxx> >
    ** and in the Subject line type
    ** unsubscribe
    ** For other list commands such as vacation mode, click on the
    ** immediately-following link:-
    ** [mailto:program-l-request@xxxxxxxxxxxxx ;
<mailto:program-l-request@xxxxxxxxxxxxx
    <mailto:program-l-request@xxxxxxxxxxxxx ;
<mailto:program-l-request@xxxxxxxxxxxxx> >?subject=faq]
    ** or send a message, to
    ** program-l-request@xxxxxxxxxxxxx 
<mailto:program-l-request@xxxxxxxxxxxxx
    <mailto:program-l-request@xxxxxxxxxxxxx ;
<mailto:program-l-request@xxxxxxxxxxxxx> > with the Subject:- faq



-- 

hamidreza

** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx ;
<mailto:program-l-request@xxxxxxxxxxxxx> ?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx <mailto:program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx ;
<mailto:program-l-request@xxxxxxxxxxxxx> ?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx <mailto:program-l-request@xxxxxxxxxxxxx>  
with the Subject:- faq



-- 

hamidreza

Other related posts: