Posts by Daniel Brito • 345 points
22 posts
-
0
votes2
answers212
viewsA: UPDATE is a DELETE followed by an INSERT?
No, UPDATE is a change of a database field , which in its operation is not performed a delete before , this is visible when Voce makes a Rigger and Voce can take the information that is being…
-
0
votes3
answers719
viewsA: Success: Function(data) in Ajax not working
In AJAX, the success serves to identify if the request reached its destination, if it has hit the target server it will return 200 ok, because the request worked. If it helps, you can use: complete:…
-
0
votes3
answers60
viewsA: define div size according to svg in js
The onresize event is the browser event that is startado when Voce increases and decreases so it only works in these two cases, you need to identify when Voce wants to resize your div , if it is to…
-
0
votes2
answers558
viewsQ: Edit with Radio button in jsf
Well I’m starting now to develop with JSF and I’m with a doubt of how to do for my method edit receive the right object of the radio button , the way it is implemented it always takes the first of…
-
0
votes2
answers64
viewsA: I need to get the ID of one of the elements inside a combobox
To catch an element through the xpath using the id just do the following way //option[@id="iddesejado"] if you still want to filter more Window you can use…
-
1
votes1
answer217
viewsA: Error installing Ionic 3 by NPM
There is a problem between your network and that of npm so this is the problem is known by the npm people and they pass that must be corrected with the command below. npm config get proxy npm config…
-
1
votes1
answer465
viewsA: Automated testing to verify an email confirmation
well Voce has to make Selenium send the email through the system, dai Voce creates a class that opens a browser and enters the registered email url enter login and password access the inbox so this…
selenium-webdriveranswered Daniel Brito 345 -
4
votes1
answer308
viewsA: What advantages does Angular 4 have over Angularjs 1.6?
Angular 2/4 is completely different from Angularjs, Agular 4 is component oriented and is completely modularized facilitating isolated changes only where you want, if you want to change the login…
angularanswered Daniel Brito 345 -
4
votes1
answer1552
viewsA: How do the Angularjs Watchers work?
The answer is yes. Every time you use one ng-model , ng-click and etc is made a apply which is access to Digest Cycle encapsulated together with the execution of Expression, causing the entire list…
-
1
votes2
answers1667
viewsA: get who gave like on video youtube PHP API
There is no way to do this without having installed in the client an api that monitors the client’s steps, through your account Oce only has how to know if the profile of the user who followed you…
-
1
votes1
answer900
viewsA: Update Angular Component 4?
The best way to make it and with routes and routes guard there would be so in the guard of routes you place export class AuthGuard implements CanActivate { constructor( private ahthSevice:…
-
0
votes1
answer577
viewsA: How can I add data to another column with the result of another column?
Just do an update with a subselect in mysql would be like this UPDATE tabela1 t1 JOIN tabela2 t2 ON t1.id = t2.id SET t1.col1 = t2.col1, t1.col2 = t2.col2, ... or update table1 t set column1 =…
mysqlanswered Daniel Brito 345 -
0
votes1
answer39
viewsA: Specific entry of information
will depend a lot on where the information is coming from, if it comes from a screen (java web) Voce can use attribute of Html5 called Pattern with regex that takes only letters…
javaanswered Daniel Brito 345 -
0
votes2
answers102
viewsA: Error reloading a page with Angular
Error: No Provider for Clienteservice! Error: No Provider for Clienteservice! This error occurs whenever Voce uses a service that has not been declared as Provider in the app-Component or has not…
angularanswered Daniel Brito 345 -
0
votes1
answer203
viewsA: SPA and MPA in Angular
Good morning, dear Voce does not find much about MPA (angular2) why the concept of Angular is to make Apis as SPA decreasing band processing and etc if you want to make MPA maybe not the angular the…
-
2
votes2
answers4133
viewsA: Angular 4 - Calling Component function through service
In Angular2, the Components should not have the logic of a business rule, they should stay in the Services , in the Components should be only things related to the application template, things…
-
1
votes1
answer860
viewsA: Manipulate DOM at angle 2
According to the Style guide of angular2 should avoid using Elementref because it can cause vulnerability in your application because this way makes direct access to the DOM so Voce can suffer…
-
3
votes1
answer229
viewsQ: Black screen in youtube EMBED loop
I put a background video on the login screen of my page but when the video comes to an end it stays with the black screen for 3 seconds until restarting the video as I do for it to do it instantly ?…
-
1
votes2
answers1161
viewsA: Selenium IDE - Placeholder
You may be picking up the wrong field to facilitate , you can pick up this field from the way down: driver.findElement(By.id("nomeCliente")).sendKeys("Nome Cliente"); in this way you will find the…
-
0
votes3
answers8705
viewsA: How to pick up the text from a span?
You first need to identify whether the element is dynamic or whether it is part of a list and each time it appears may be in a different location, the most common and safe way to capture text is…
-
0
votes1
answer182
viewsA: String is not a Valid Xpath Expression - Selenium Webdriver
really Selenium when you put this kind of xpath it error, a solution for Voce is to use the xpath that the firepath itself gives you, when you open the console and go in the fipath tab next to the…
-
0
votes2
answers1412
viewsA: Selenium Webdriver
This problem occurs because Selenium is trying to perform an action in a location that is not yet loaded. In order for you to be able to do this test you will need Selenium to wait for the browser…